Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.574/2.574, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.166/5.166, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007093/0.0007097, allocations: 16 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529/1.53, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.05499/1.585, allocations: 32.69 MB / 1.013 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03288/1.618, allocations: 12.54 MB / 1.025 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007582/1.626, allocations: 139.1 kB / 1.025 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005729/1.632, allocations: 0.7414 MB / 1.026 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/1.645, allocations: 1.885 MB / 1.028 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/1.656, allocations: 1.651 MB / 1.029 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0165/1.673, allocations: 4.844 MB / 1.034 GB, free: 15.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03478/1.708, allocations: 11.44 MB / 1.045 GB, free: 4.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0106/1.718, allocations: 2.632 MB / 1.048 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01222/1.731, allocations: 2.678 MB / 1.05 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.004285/1.735, allocations: 320 kB / 1.051 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008364/1.744, allocations: 0.6517 MB / 1.051 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.007901/1.752, allocations: 2.249 MB / 1.054 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005902/1.757, allocations: 1.178 MB / 1.055 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02286/1.78, allocations: 9.576 MB / 1.064 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.781, allocations: 0 / 1.064 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.497e-06/1.781, allocations: 4 kB / 1.064 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0005041/1.781, allocations: 0 / 1.064 GB, free: 0.8125 MB / 0.8106 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.02825/1.809, allocations: 5.158 MB / 1.069 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.875e-05/1.809, allocations: 8.031 kB / 1.069 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006047/1.816, allocations: 0.7595 MB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/1.847, allocations: 1.277 MB / 1.071 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03537/1.883, allocations: 3.468 MB / 1.075 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008031/1.883, allocations: 386.1 kB / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003915/1.887, allocations: 0.492 MB / 1.075 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04991/1.937, allocations: 8.808 MB / 1.084 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005457/1.938, allocations: 23.78 kB / 1.084 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00402/1.942, allocations: 219.9 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003972/1.946, allocations: 0.6343 MB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/1.976, allocations: 6.975 MB / 1.092 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1156/2.091, allocations: 40.43 MB / 1.131 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009671/2.101, allocations: 2.88 MB / 1.134 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006622/2.102, allocations: 30.03 kB / 1.134 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/2.102, allocations: 68.66 kB / 1.134 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=265): time 9.879e-06/2.102, allocations: 0 / 1.134 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=424): time 0.5476/2.65, allocations: 77.42 MB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/2.65, allocations: 98.72 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/2.657, allocations: 2.332 MB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/2.659, allocations: 93.7 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.003785/2.662, allocations: 2.333 MB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.003672/2.666, allocations: 1.44 MB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007244/2.667, allocations: 92 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0005646/2.667, allocations: 479.3 kB / 1.216 GB, free: 372 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009289/2.677, allocations: 2.98 MB / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/2.688, allocations: 3.816 MB / 1.223 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/2.699, allocations: 3.548 MB / 1.226 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.592e-05/2.699, allocations: 7.984 kB / 1.226 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.07423/2.773, allocations: 12.5 MB / 1.239 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/2.774, allocations: 12 kB / 1.239 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.568e-05/2.774, allocations: 24 kB / 1.239 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03977/2.813, allocations: 6.013 MB / 1.245 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004138/2.818, allocations: 499.1 kB / 1.245 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559/4.377, allocations: 69.27 MB / 1.313 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008435/4.385, allocations: 222.2 kB / 1.313 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/4.387, allocations: 149.9 kB / 1.313 GB, free: 195.6 MB / 0.9981 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 (269): * Single equations (assignments): 245 * 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,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009456/4.397, allocations: 1.993 MB / 1.315 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002305/4.399, allocations: 393.9 kB / 1.315 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0538/4.453, allocations: 12.19 MB / 1.327 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.403e-05/4.453, allocations: 40 kB / 1.327 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003741/4.453, allocations: 51.95 kB / 1.327 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001569/4.454, allocations: 23.91 kB / 1.327 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07632/4.53, allocations: 19.12 MB / 1.346 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.776e-05/4.53, allocations: 15.89 kB / 1.346 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/4.533, allocations: 283.6 kB / 1.346 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03788/4.571, allocations: 5.561 MB / 1.352 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001625/4.573, allocations: 83.98 kB / 1.352 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1237/4.697, allocations: 66.91 MB / 1.417 GB, free: 89.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/4.697, allocations: 12.06 kB / 1.417 GB, free: 89.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04891/4.746, allocations: 16.2 MB / 1.433 GB, free: 72.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006075/4.752, allocations: 1.04 MB / 1.434 GB, free: 71.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/4.755, allocations: 92.11 kB / 1.434 GB, free: 71.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005761/4.761, allocations: 211.7 kB / 1.434 GB, free: 71.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003259/4.764, allocations: 410.2 kB / 1.435 GB, free: 70.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00138/4.765, allocations: 108 kB / 1.435 GB, free: 70.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00474/4.77, allocations: 1.529 MB / 1.436 GB, free: 69.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/4.77, allocations: 0 / 1.436 GB, free: 69.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0169/4.787, allocations: 1.859 MB / 1.438 GB, free: 67.18 MB / 0.9981 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 () * Number of clocked 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,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06257/4.85, allocations: 18.65 MB / 1.456 GB, free: 48.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.04138/4.891, allocations: 12.18 MB / 1.468 GB, free: 35.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.577e-05/4.891, allocations: 4 kB / 1.468 GB, free: 35.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03106/4.922, allocations: 8.368 MB / 1.476 GB, free: 27.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/4.934, allocations: 1.041 MB / 1.477 GB, free: 26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1864/5.12, allocations: 57.7 MB / 1.534 GB, free: 14.05 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/5.134, allocations: 4.195 MB / 1.538 GB, free: 9.824 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.006138/5.14, allocations: 0.6669 MB / 1.538 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007246/5.147, allocations: 2.136 MB / 1.541 GB, free: 7.016 MB / 1.045 GB Notification: Performance of SimCode: time 3.757e-06/5.147, allocations: 0 / 1.541 GB, free: 7.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6465/5.794, allocations: 143.8 MB / 1.681 GB, free: 8.453 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00064/5.795, allocations: 226.8 kB / 1.681 GB, free: 8.215 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/16.58, allocations: 0 / 1.681 GB, free: 8.215 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat does not exist to compare? outputFormat=mat