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.0009953/0.0009955, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.739/2.739, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7489, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03489/0.7839, allocations: 34.25 MB / 1.015 GB, free: 3.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.8036, allocations: 12.43 MB / 1.027 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003809/0.8074, allocations: 147.1 kB / 1.027 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.8101, allocations: 0.7441 MB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006467/0.8166, allocations: 2.064 MB / 1.03 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005641/0.8222, allocations: 1.623 MB / 1.031 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.8361, allocations: 10.64 MB / 1.042 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01993/0.856, allocations: 11.46 MB / 1.053 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.8621, allocations: 2.961 MB / 1.056 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007675/0.8698, allocations: 3.773 MB / 1.059 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002948/0.8728, allocations: 316 kB / 1.06 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.8774, allocations: 0.7805 MB / 1.06 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004705/0.8822, allocations: 2.439 MB / 1.063 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003876/0.8861, allocations: 1.178 MB / 1.064 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.8995, allocations: 9.74 MB / 1.073 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.8996, allocations: 0 / 1.073 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.136e-06/0.8996, allocations: 3.938 kB / 1.073 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004382/0.9001, allocations: 0 / 1.073 GB, free: 7.402 MB / 0.8262 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.01563/0.9157, allocations: 5.197 MB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.9158, allocations: 8.031 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003604/0.9194, allocations: 0.7556 MB / 1.079 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009328/0.9287, allocations: 1.296 MB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00791/0.9367, allocations: 3.468 MB / 1.084 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/0.9371, allocations: 374.1 kB / 1.084 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.9391, allocations: 0.5036 MB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.9584, allocations: 8.851 MB / 1.093 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.9586, allocations: 27.72 kB / 1.093 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005799/0.9592, allocations: 219.9 kB / 1.094 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/0.961, allocations: 0.6343 MB / 1.094 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.9745, allocations: 6.979 MB / 1.101 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05082/1.025, allocations: 40.4 MB / 1.141 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.029, allocations: 2.891 MB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/1.033, allocations: 2.659 MB / 1.146 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/1.033, allocations: 30.09 kB / 1.146 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.895e-05/1.033, allocations: 64.66 kB / 1.146 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=265): time 4.268e-06/1.034, allocations: 0 / 1.146 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=424): time 0.2661/1.3, allocations: 77.42 MB / 1.222 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/1.3, allocations: 98.67 kB / 1.222 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/1.303, allocations: 2.328 MB / 1.224 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0009568/1.304, allocations: 93.7 kB / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.306, allocations: 2.345 MB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.308, allocations: 1.432 MB / 1.228 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/1.308, allocations: 92 kB / 1.228 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.308, allocations: 479.3 kB / 1.228 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.313, allocations: 2.983 MB / 1.231 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005226/1.318, allocations: 3.828 MB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/1.323, allocations: 3.548 MB / 1.238 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.323, allocations: 4 kB / 1.238 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.6783/2.002, allocations: 12.5 MB / 1.251 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/2.002, allocations: 15.66 kB / 1.251 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.143e-05/2.002, allocations: 22.09 kB / 1.251 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02258/2.025, allocations: 6.015 MB / 1.257 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/2.027, allocations: 494.3 kB / 1.257 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07036/2.097, allocations: 67.19 MB / 1.323 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/2.101, allocations: 219.8 kB / 1.323 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005146/2.102, allocations: 148 kB / 1.323 GB, free: 189.2 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.003468/2.105, allocations: 1.994 MB / 1.325 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/2.106, allocations: 391.4 kB / 1.325 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/2.129, allocations: 12.19 MB / 1.337 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/2.13, allocations: 43.95 kB / 1.337 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001558/2.13, allocations: 48 kB / 1.337 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/2.13, allocations: 23.92 kB / 1.337 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/2.164, allocations: 19.12 MB / 1.356 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/2.164, allocations: 9.688 kB / 1.356 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/2.165, allocations: 287.5 kB / 1.356 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0175/2.183, allocations: 5.569 MB / 1.362 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006652/2.183, allocations: 87.98 kB / 1.362 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06043/2.244, allocations: 64.8 MB / 1.425 GB, free: 81.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.244, allocations: 11.94 kB / 1.425 GB, free: 81.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/2.27, allocations: 15.56 MB / 1.44 GB, free: 65.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/2.272, allocations: 1.045 MB / 1.441 GB, free: 64.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007483/2.273, allocations: 80 kB / 1.441 GB, free: 64.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/2.275, allocations: 219.7 kB / 1.442 GB, free: 64.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/2.276, allocations: 406.3 kB / 1.442 GB, free: 63.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/2.277, allocations: 112.1 kB / 1.442 GB, free: 63.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001824/2.279, allocations: 1.525 MB / 1.444 GB, free: 62.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/2.279, allocations: 0 / 1.444 GB, free: 62.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006053/2.285, allocations: 1.859 MB / 1.445 GB, free: 60.16 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.02549/2.31, allocations: 16.23 MB / 1.461 GB, free: 43.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01825/2.328, allocations: 12.18 MB / 1.473 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.328, allocations: 8.062 kB / 1.473 GB, free: 31.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01261/2.341, allocations: 8.366 MB / 1.481 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005368/2.347, allocations: 1.103 MB / 1.482 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07842/2.425, allocations: 42.77 MB / 1.524 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005157/2.43, allocations: 4.09 MB / 1.528 GB, free: 4.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002682/2.433, allocations: 0.6708 MB / 1.529 GB, free: 3.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002614/2.436, allocations: 2.132 MB / 1.531 GB, free: 1.617 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/2.436, allocations: 0 / 1.531 GB, free: 1.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/2.669, allocations: 143.8 MB / 1.671 GB, free: 3.004 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/2.669, allocations: 232.4 kB / 1.672 GB, free: 2.766 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.512/8.181, allocations: 0 / 1.672 GB, free: 2.766 MB / 1.17 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