Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 166.7 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006756/0.0006754, allocations: 93.69 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8.969 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02682/0.1798, allocations: 40.38 MB / 0.9356 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.1965, allocations: 15.05 MB / 0.9503 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.1997, allocations: 167.1 kB / 0.9505 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007673/0.2074, allocations: 4.132 MB / 0.9545 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.2124, allocations: 2.636 MB / 0.9571 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.2176, allocations: 2.872 MB / 0.9599 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01451/0.2321, allocations: 15.94 MB / 0.9755 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01806/0.2502, allocations: 13.6 MB / 0.9888 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.2566, allocations: 3.602 MB / 0.9923 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007404/0.2641, allocations: 4.753 MB / 0.9969 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.2658, allocations: 400 kB / 0.9973 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/0.2704, allocations: 1.821 MB / 0.9991 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003813/0.2742, allocations: 2.985 MB / 1.002 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0055/0.2797, allocations: 3.483 MB / 1.005 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.2936, allocations: 13.59 MB / 1.019 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2936, allocations: 0 / 1.019 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2936, allocations: 0 / 1.019 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003626/0.294, allocations: 0 / 1.019 GB, free: 6.195 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01315/0.3072, allocations: 6.154 MB / 1.025 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3072, allocations: 8.031 kB / 1.025 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002171/0.3094, allocations: 0.8916 MB / 1.026 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008964/0.3184, allocations: 1.526 MB / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007743/0.3261, allocations: 4.213 MB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.3266, allocations: 456.5 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.328, allocations: 0.5977 MB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.3451, allocations: 10.68 MB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.3452, allocations: 31.77 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006024/0.3458, allocations: 259.9 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.3483, allocations: 0.7846 MB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.3633, allocations: 8.553 MB / 1.052 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3898/0.7531, allocations: 46.97 MB / 1.098 GB, free: 104.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/0.7577, allocations: 4.321 MB / 1.102 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/0.7616, allocations: 3.682 MB / 1.106 GB, free: 99.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.7618, allocations: 34.28 kB / 1.106 GB, free: 99.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.7619, allocations: 78.19 kB / 1.106 GB, free: 99.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 5.5e-06/0.7619, allocations: 0 / 1.106 GB, free: 99.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.4028/1.165, allocations: 128.1 MB / 1.231 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/1.165, allocations: 111.9 kB / 1.231 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/1.168, allocations: 2.685 MB / 1.234 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007329/1.169, allocations: 129.7 kB / 1.234 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.17, allocations: 2.672 MB / 1.236 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/1.172, allocations: 1.949 MB / 1.238 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/1.173, allocations: 442 kB / 1.239 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/1.173, allocations: 305.1 kB / 1.239 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.179, allocations: 4.08 MB / 1.243 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006083/1.185, allocations: 5.015 MB / 1.248 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.197, allocations: 9.848 MB / 1.257 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.197, allocations: 4 kB / 1.258 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03557/1.233, allocations: 17 MB / 1.274 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.233, allocations: 16 kB / 1.274 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/1.233, allocations: 20 kB / 1.274 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02937/1.262, allocations: 9.087 MB / 1.283 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/1.265, allocations: 0.5265 MB / 1.284 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09267/1.357, allocations: 70.71 MB / 1.353 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.362, allocations: 279.8 kB / 1.353 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005635/1.362, allocations: 188 kB / 1.353 GB, free: 12.02 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003787/1.366, allocations: 2.425 MB / 1.355 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000945/1.367, allocations: 470.5 kB / 1.356 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03457/1.402, allocations: 16.82 MB / 1.372 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.755e-05/1.402, allocations: 63.88 kB / 1.372 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001738/1.402, allocations: 68 kB / 1.372 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/1.402, allocations: 27.89 kB / 1.372 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3873/1.789, allocations: 25.68 MB / 1.397 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/1.789, allocations: 10.41 kB / 1.398 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.791, allocations: 325.6 kB / 1.398 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02537/1.816, allocations: 8.266 MB / 1.406 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008015/1.817, allocations: 104.4 kB / 1.406 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07479/1.892, allocations: 67.59 MB / 1.472 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.892, allocations: 15.94 kB / 1.472 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03605/1.928, allocations: 21.56 MB / 1.493 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004568/1.933, allocations: 1.358 MB / 1.494 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/1.934, allocations: 112.6 kB / 1.495 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005058/1.939, allocations: 283.7 kB / 1.495 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002274/1.942, allocations: 0.526 MB / 1.495 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/1.942, allocations: 140 kB / 1.495 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002005/1.944, allocations: 1.784 MB / 1.497 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.944, allocations: 3.969 kB / 1.497 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006326/1.95, allocations: 2.438 MB / 1.5 GB, free: 209.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03831/1.989, allocations: 22.27 MB / 1.521 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02433/2.013, allocations: 14.54 MB / 1.535 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/2.013, allocations: 0 / 1.535 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01539/2.029, allocations: 9.377 MB / 1.545 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009025/2.038, allocations: 1.286 MB / 1.546 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/2.16, allocations: 82.7 MB / 1.627 GB, free: 73.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004433/2.164, allocations: 4.893 MB / 1.631 GB, free: 69.01 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002663/2.167, allocations: 0.7449 MB / 1.632 GB, free: 68.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/2.169, allocations: 2.612 MB / 1.635 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/2.169, allocations: 0 / 1.635 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.718/3.887, allocations: 187.2 MB / 1.818 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/3.888, allocations: 270.7 kB / 1.818 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/10.38, allocations: 2.344 kB / 1.818 GB, free: 212.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)