Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.0008549/0.000855, allocations: 92.16 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.0008643/0.0008644, 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.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.219 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.497/2.497, allocations: 390.4 MB / 0.6655 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7491, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01865/0.7678, allocations: 18.41 MB / 0.9718 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.781, allocations: 6.124 MB / 0.9778 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.7841, allocations: 74.72 kB / 0.9779 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.7858, allocations: 398 kB / 0.9783 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.7902, allocations: 0.9571 MB / 0.9792 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.7939, allocations: 0.7697 MB / 0.98 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008254/0.8022, allocations: 5.485 MB / 0.9853 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.8142, allocations: 6.385 MB / 0.9915 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.8178, allocations: 1.51 MB / 0.993 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003779/0.8216, allocations: 1.978 MB / 0.995 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009694/0.8226, allocations: 176 kB / 0.9951 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.8249, allocations: 479.5 kB / 0.9956 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.8274, allocations: 1.344 MB / 0.9969 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.8291, allocations: 0.6447 MB / 0.9975 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007614/0.8367, allocations: 5.384 MB / 1.003 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.8368, allocations: 0 / 1.003 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8368, allocations: 0 / 1.003 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002706/0.837, allocations: 0 / 1.003 GB, free: 13.85 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009508/0.8466, allocations: 2.856 MB / 1.006 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8466, allocations: 8.031 kB / 1.006 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001898/0.8485, allocations: 454.4 kB / 1.006 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.8533, allocations: 0.6401 MB / 1.007 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/0.8583, allocations: 1.892 MB / 1.008 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.8586, allocations: 233.9 kB / 1.009 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.8597, allocations: 291.9 kB / 1.009 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.8717, allocations: 4.868 MB / 1.014 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.8719, allocations: 11.88 kB / 1.014 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/0.8722, allocations: 132 kB / 1.014 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/0.8727, allocations: 229.7 kB / 1.014 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006779/0.8795, allocations: 3.727 MB / 1.018 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.9048, allocations: 21.6 MB / 1.039 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.9069, allocations: 1.3 MB / 1.04 GB, free: 5.277 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.9084, allocations: 1.034 MB / 1.041 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.9085, allocations: 16.98 kB / 1.041 GB, free: 4.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.9085, allocations: 47.5 kB / 1.041 GB, free: 4.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.327e-06/0.9086, allocations: 0 / 1.041 GB, free: 4.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=138): time 0.02366/0.9322, allocations: 8.662 MB / 1.05 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.9323, allocations: 64.72 kB / 1.05 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.934, allocations: 1.122 MB / 1.051 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.9341, allocations: 49.7 kB / 1.051 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.935, allocations: 1.304 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.9355, allocations: 473.2 kB / 1.053 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.9356, allocations: 32 kB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9358, allocations: 369.9 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.9371, allocations: 0.9096 MB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.9387, allocations: 1.326 MB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.9404, allocations: 1.135 MB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.9404, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005845/0.9462, allocations: 3.446 MB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.9463, allocations: 8 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.9463, allocations: 12 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.9493, allocations: 1.19 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.9503, allocations: 255.6 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.9666, allocations: 12.71 MB / 1.073 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.968, allocations: 91.97 kB / 1.074 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.9683, allocations: 60 kB / 1.074 GB, free: 2.273 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002218/0.9705, allocations: 1.122 MB / 1.075 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/0.9709, allocations: 162.1 kB / 1.075 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/0.9768, allocations: 3.154 MB / 1.078 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.9768, allocations: 20 kB / 1.078 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.9768, allocations: 12 kB / 1.078 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.9769, allocations: 7.969 kB / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.9888, allocations: 6.233 MB / 1.084 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.9888, allocations: 4 kB / 1.084 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.9894, allocations: 152.2 kB / 1.084 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/0.9921, allocations: 1.08 MB / 1.085 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.9922, allocations: 24 kB / 1.085 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/1.008, allocations: 12.42 MB / 1.097 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.008, allocations: 7.938 kB / 1.097 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/1.013, allocations: 3.139 MB / 1.1 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/1.014, allocations: 431 kB / 1.101 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/1.014, allocations: 31.98 kB / 1.101 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/1.015, allocations: 83.86 kB / 1.101 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/1.016, allocations: 124.8 kB / 1.101 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.016, allocations: 44 kB / 1.101 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001281/1.017, allocations: 0.7553 MB / 1.102 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.51e-07/1.017, allocations: 0 / 1.102 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002416/1.019, allocations: 0.6602 MB / 1.103 GB, free: 3.949 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005367/1.025, allocations: 3.724 MB / 1.106 GB, free: 128 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005072/1.03, allocations: 3.119 MB / 1.109 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.03, allocations: 0 / 1.109 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0031/1.033, allocations: 1.979 MB / 1.111 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.036, allocations: 470.6 kB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/1.063, allocations: 15.09 MB / 1.126 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.066, allocations: 2.336 MB / 1.129 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001254/1.068, allocations: 358.1 kB / 1.129 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.069, allocations: 1.006 MB / 1.13 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of SimCode: time 7.81e-07/1.069, allocations: 0 / 1.13 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08045/1.15, allocations: 49.36 MB / 1.178 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.15, allocations: 239.9 kB / 1.178 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.878, allocations: 0 / 1.178 GB, free: 6.172 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat does not exist to compare? outputFormat=mat