Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 284.9 MB / 292.4 MB, free: 10.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 188.8 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.08 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.292e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8855, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/1.226, allocations: 184.1 MB / 1.143 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004928/1.226, allocations: 95.94 kB / 1.143 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.859/3.085, allocations: 266.3 MB / 1.403 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.525e-06/3.085, allocations: 4 kB / 1.403 GB, free: 141 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005535/3.085, allocations: 143.9 kB / 1.404 GB, free: 140.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02045/3.106, allocations: 4.619 MB / 1.408 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/3.106, allocations: 8.031 kB / 1.408 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/3.123, allocations: 1.491 MB / 1.409 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/3.141, allocations: 4.207 MB / 1.414 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/3.141, allocations: 164 kB / 1.414 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/3.144, allocations: 295.9 kB / 1.414 GB, free: 130 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01731/3.161, allocations: 5.573 MB / 1.419 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/3.196, allocations: 7.546 MB / 1.427 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005189/3.196, allocations: 27.78 kB / 1.427 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/3.2, allocations: 12 kB / 1.427 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007929/3.201, allocations: 326 kB / 1.427 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/3.308, allocations: 38.92 MB / 1.465 GB, free: 73.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008301/3.316, allocations: 2.706 MB / 1.468 GB, free: 71.22 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007306/3.324, allocations: 2.478 MB / 1.47 GB, free: 68.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/3.324, allocations: 26.09 kB / 1.47 GB, free: 68.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/3.324, allocations: 60.66 kB / 1.47 GB, free: 68.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 6.141e-06/3.324, allocations: 3.938 kB / 1.47 GB, free: 68.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1209/3.445, allocations: 27.36 MB / 1.497 GB, free: 41.04 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/3.445, allocations: 94.73 kB / 1.497 GB, free: 40.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/3.448, allocations: 1.626 MB / 1.499 GB, free: 39.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/3.45, allocations: 25.7 kB / 1.499 GB, free: 39.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/3.451, allocations: 2.363 MB / 1.501 GB, free: 36.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00224/3.454, allocations: 1.385 MB / 1.502 GB, free: 35.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/3.454, allocations: 4 kB / 1.502 GB, free: 35.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003175/3.454, allocations: 483.4 kB / 1.503 GB, free: 34.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006179/3.461, allocations: 2.64 MB / 1.505 GB, free: 32.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007153/3.468, allocations: 3.579 MB / 1.509 GB, free: 28.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007299/3.475, allocations: 3.238 MB / 1.512 GB, free: 25.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.56e-05/3.475, allocations: 8 kB / 1.512 GB, free: 25.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04572/3.521, allocations: 11.15 MB / 1.523 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/3.521, allocations: 16 kB / 1.523 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.543e-05/3.521, allocations: 28 kB / 1.523 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0306/3.552, allocations: 4.9 MB / 1.528 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/3.556, allocations: 0.5031 MB / 1.528 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1282/3.684, allocations: 62.27 MB / 1.589 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006527/3.691, allocations: 95.86 kB / 1.589 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/3.692, allocations: 164 kB / 1.589 GB, free: 7.062 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001576/3.694, allocations: 195.9 kB / 1.59 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04527/3.739, allocations: 10.43 MB / 1.6 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/3.741, allocations: 371.6 kB / 1.6 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04729/3.789, allocations: 11 MB / 1.611 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-05/3.789, allocations: 40 kB / 1.611 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001506/3.789, allocations: 52 kB / 1.611 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/3.789, allocations: 19.92 kB / 1.611 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7714/4.56, allocations: 16.53 MB / 1.627 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-05/4.56, allocations: 9.031 kB / 1.627 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/4.563, allocations: 288.1 kB / 1.627 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02672/4.59, allocations: 4.43 MB / 1.632 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008431/4.591, allocations: 18.58 kB / 1.632 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1038/4.695, allocations: 60.01 MB / 1.69 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/4.695, allocations: 11.39 kB / 1.69 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04904/4.744, allocations: 14.7 MB / 1.705 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004171/4.748, allocations: 0.9549 MB / 1.706 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/4.75, allocations: 12.12 kB / 1.706 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/4.755, allocations: 114.7 kB / 1.706 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002592/4.757, allocations: 412.4 kB / 1.706 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008635/4.758, allocations: 105.1 kB / 1.706 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002576/4.761, allocations: 1.189 MB / 1.707 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.81e-07/4.761, allocations: 3.562 kB / 1.707 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01027/4.771, allocations: 1.538 MB / 1.709 GB, free: 179.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04772/4.819, allocations: 17.09 MB / 1.726 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03102/4.85, allocations: 10.95 MB / 1.736 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/4.85, allocations: 0 / 1.736 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.02245/4.873, allocations: 7.589 MB / 1.744 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00805/4.881, allocations: 0.8697 MB / 1.745 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03592/4.917, allocations: 11.18 MB / 1.755 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008579/4.925, allocations: 4.194 MB / 1.76 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004202/4.929, allocations: 0.6519 MB / 1.76 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004221/4.934, allocations: 2.123 MB / 1.762 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.263e-06/4.934, allocations: 0 / 1.762 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3572/5.291, allocations: 131.1 MB / 1.89 GB, free: 57.02 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/5.291, allocations: 168.6 kB / 1.89 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/12.53, allocations: 8.031 kB / 1.89 GB, free: 56.82 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)