Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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.001351/0.001351, 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.001516/0.001516, allocations: 177.3 kB / 15.95 MB, free: 216 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.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 16 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.84, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03864/0.8786, allocations: 32.69 MB / 0.9855 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02615/0.9049, allocations: 12.54 MB / 0.9978 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005778/0.9107, allocations: 139.1 kB / 0.9979 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.9149, allocations: 0.7414 MB / 0.9986 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.9254, allocations: 1.881 MB / 1 GB, free: 96 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.9357, allocations: 1.649 MB / 1.002 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01296/0.9487, allocations: 4.836 MB / 1.007 GB, free: 9.598 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01932/0.9681, allocations: 11.44 MB / 1.018 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006197/0.9743, allocations: 2.635 MB / 1.021 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00609/0.9805, allocations: 2.671 MB / 1.023 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.9823, allocations: 320 kB / 1.023 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003464/0.9858, allocations: 0.6556 MB / 1.024 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003601/0.9894, allocations: 2.249 MB / 1.026 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.9919, allocations: 1.175 MB / 1.027 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/1.006, allocations: 9.58 MB / 1.037 GB, free: 10.74 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.006, allocations: 0 / 1.037 GB, free: 10.74 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.41e-06/1.006, allocations: 0 / 1.037 GB, free: 10.74 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000581/1.006, allocations: 4 kB / 1.037 GB, free: 10.73 MB / 0.795 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.01653/1.023, allocations: 5.162 MB / 1.042 GB, free: 5.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.023, allocations: 8.031 kB / 1.042 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002575/1.025, allocations: 0.7517 MB / 1.043 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008524/1.034, allocations: 1.285 MB / 1.044 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.044, allocations: 3.468 MB / 1.047 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/1.045, allocations: 386 kB / 1.048 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/1.047, allocations: 0.4959 MB / 1.048 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/1.072, allocations: 8.796 MB / 1.057 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000309/1.073, allocations: 31.72 kB / 1.057 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/1.075, allocations: 223.9 kB / 1.057 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/1.077, allocations: 0.6303 MB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/1.092, allocations: 6.983 MB / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05937/1.152, allocations: 40.41 MB / 1.104 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/1.157, allocations: 2.891 MB / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/1.157, allocations: 30.09 kB / 1.107 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.157, allocations: 64.66 kB / 1.107 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=265): time 6.772e-06/1.157, allocations: 0 / 1.107 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=424): time 0.3139/1.471, allocations: 77.4 MB / 1.182 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/1.471, allocations: 98.67 kB / 1.182 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/1.475, allocations: 2.336 MB / 1.185 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008871/1.476, allocations: 93.7 kB / 1.185 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001736/1.478, allocations: 2.337 MB / 1.187 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00219/1.48, allocations: 1.44 MB / 1.188 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007057/1.481, allocations: 92 kB / 1.189 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003333/1.481, allocations: 483.2 kB / 1.189 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004941/1.486, allocations: 2.98 MB / 1.192 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005814/1.492, allocations: 3.812 MB / 1.196 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006114/1.498, allocations: 3.544 MB / 1.199 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/1.498, allocations: 8 kB / 1.199 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03299/1.531, allocations: 12.5 MB / 1.211 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/1.531, allocations: 16.97 kB / 1.211 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.913e-05/1.531, allocations: 20 kB / 1.211 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02355/1.555, allocations: 6.016 MB / 1.217 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/1.557, allocations: 495.2 kB / 1.218 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6537/2.211, allocations: 69.28 MB / 1.285 GB, free: 253.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/2.215, allocations: 214.1 kB / 1.286 GB, free: 253 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007371/2.216, allocations: 154.8 kB / 1.286 GB, free: 253 MB / 1.014 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.0042/2.22, allocations: 1.992 MB / 1.288 GB, free: 252.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/2.221, allocations: 390.3 kB / 1.288 GB, free: 252.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02906/2.25, allocations: 12.19 MB / 1.3 GB, free: 247.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/2.251, allocations: 46.88 kB / 1.3 GB, free: 247.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002255/2.251, allocations: 49.41 kB / 1.3 GB, free: 247.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.523e-05/2.251, allocations: 24.8 kB / 1.3 GB, free: 247.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03744/2.288, allocations: 19.13 MB / 1.319 GB, free: 238.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/2.288, allocations: 3.75 kB / 1.319 GB, free: 238.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/2.29, allocations: 282.3 kB / 1.319 GB, free: 238.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01954/2.31, allocations: 5.575 MB / 1.324 GB, free: 236 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008182/2.31, allocations: 82.61 kB / 1.325 GB, free: 235.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06516/2.376, allocations: 66.91 MB / 1.39 GB, free: 167.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/2.376, allocations: 8 kB / 1.39 GB, free: 167.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02936/2.405, allocations: 16.21 MB / 1.406 GB, free: 151.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00338/2.408, allocations: 1.048 MB / 1.407 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008864/2.409, allocations: 79.98 kB / 1.407 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/2.412, allocations: 219.4 kB / 1.407 GB, free: 149.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001384/2.413, allocations: 402.3 kB / 1.407 GB, free: 149.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/2.414, allocations: 108 kB / 1.408 GB, free: 149.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001962/2.416, allocations: 1.537 MB / 1.409 GB, free: 147.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/2.416, allocations: 0 / 1.409 GB, free: 147.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006849/2.422, allocations: 1.859 MB / 1.411 GB, free: 146 MB / 1.014 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.03025/2.453, allocations: 18.64 MB / 1.429 GB, free: 127 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0224/2.475, allocations: 12.19 MB / 1.441 GB, free: 114.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/2.475, allocations: 0 / 1.441 GB, free: 114.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01488/2.49, allocations: 8.371 MB / 1.449 GB, free: 105.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0058/2.496, allocations: 1.046 MB / 1.45 GB, free: 104.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08742/2.583, allocations: 57.71 MB / 1.506 GB, free: 44.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006936/2.59, allocations: 4.183 MB / 1.511 GB, free: 40.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003182/2.594, allocations: 0.6747 MB / 1.511 GB, free: 39.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002918/2.597, allocations: 2.143 MB / 1.513 GB, free: 37.84 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/2.597, allocations: 0 / 1.513 GB, free: 37.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2328/2.829, allocations: 143.8 MB / 1.654 GB, free: 7.355 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/2.83, allocations: 221 kB / 1.654 GB, free: 7.121 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.202/8.032, allocations: 4 kB / 1.654 GB, free: 7.117 MB / 1.123 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat does not exist to compare? outputFormat=mat