Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001029/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001419/0.00142, allocations: 168.7 kB / 15.95 MB, free: 204 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.454/1.454, allocations: 223.2 MB / 240 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 2.567/2.567, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 20 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8104, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03217/0.8426, allocations: 32.02 MB / 1.012 GB, free: 6.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.8578, allocations: 9.495 MB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/0.8608, allocations: 123.3 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.8634, allocations: 0.6859 MB / 1.022 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.8687, allocations: 1.636 MB / 1.024 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.8727, allocations: 1.156 MB / 1.025 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009581/0.8823, allocations: 8.83 MB / 1.034 GB, free: 160 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01776/0.9001, allocations: 10.42 MB / 1.044 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004971/0.9051, allocations: 2.443 MB / 1.046 GB, free: 3.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006005/0.9111, allocations: 3.111 MB / 1.049 GB, free: 92 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.9127, allocations: 284 kB / 1.05 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.9156, allocations: 0.6478 MB / 1.05 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003224/0.9188, allocations: 2.089 MB / 1.052 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.921, allocations: 1.03 MB / 1.053 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008617/0.9297, allocations: 8.558 MB / 1.062 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9297, allocations: 0 / 1.062 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9297, allocations: 0 / 1.062 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003257/0.93, allocations: 0 / 1.062 GB, free: 3.453 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009727/0.9398, allocations: 4.41 MB / 1.066 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9398, allocations: 8.031 kB / 1.066 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.9415, allocations: 0.6982 MB / 1.067 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00527/0.9468, allocations: 0.9695 MB / 1.068 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005318/0.9521, allocations: 2.925 MB / 1.071 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.9524, allocations: 357.6 kB / 1.071 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000825/0.9532, allocations: 471.8 kB / 1.071 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.9674, allocations: 7.867 MB / 1.079 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.9676, allocations: 23.81 kB / 1.079 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/0.9681, allocations: 208 kB / 1.079 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004769/0.9686, allocations: 365.1 kB / 1.08 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.9794, allocations: 5.898 MB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/1.023, allocations: 36.25 MB / 1.121 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/1.028, allocations: 2.127 MB / 1.123 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.032, allocations: 1.48 MB / 1.124 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.032, allocations: 21.3 kB / 1.124 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.441e-05/1.032, allocations: 55.88 kB / 1.124 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 5.15e-06/1.032, allocations: 0 / 1.124 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.02252/1.055, allocations: 7.54 MB / 1.132 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.055, allocations: 72.72 kB / 1.132 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.059, allocations: 1.841 MB / 1.134 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003035/1.059, allocations: 57.7 kB / 1.134 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002437/1.062, allocations: 2.119 MB / 1.136 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008378/1.062, allocations: 0.5662 MB / 1.136 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.063, allocations: 47.94 kB / 1.136 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002687/1.063, allocations: 390.3 kB / 1.137 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/1.065, allocations: 1.051 MB / 1.138 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/1.069, allocations: 1.752 MB / 1.139 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/1.072, allocations: 1.349 MB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/1.072, allocations: 4 kB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009887/1.082, allocations: 3.905 MB / 1.145 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/1.082, allocations: 12 kB / 1.145 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/1.082, allocations: 24 kB / 1.145 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003589/1.085, allocations: 0.9395 MB / 1.145 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/1.087, allocations: 427.2 kB / 1.146 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/1.11, allocations: 21.05 MB / 1.166 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.112, allocations: 123.9 kB / 1.167 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.112, allocations: 96 kB / 1.167 GB, free: 1.867 MB / 0.92 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003078/1.115, allocations: 1.646 MB / 1.168 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/1.116, allocations: 257 kB / 1.168 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/1.121, allocations: 3.26 MB / 1.172 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.121, allocations: 16 kB / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/1.121, allocations: 8 kB / 1.172 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.121, allocations: 7.969 kB / 1.172 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.134, allocations: 7.533 MB / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.134, allocations: 4 kB / 1.179 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/1.135, allocations: 219.6 kB / 1.179 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/1.137, allocations: 0.897 MB / 1.18 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.137, allocations: 32 kB / 1.18 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02831/1.166, allocations: 21.02 MB / 1.201 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.166, allocations: 7.953 kB / 1.201 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008538/1.174, allocations: 3.36 MB / 1.204 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.176, allocations: 0.5332 MB / 1.205 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004433/1.176, allocations: 35.95 kB / 1.205 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.178, allocations: 91.83 kB / 1.205 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005359/1.179, allocations: 141 kB / 1.205 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.179, allocations: 48 kB / 1.205 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002688/1.182, allocations: 1.205 MB / 1.206 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/1.182, allocations: 3.938 kB / 1.206 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.005136/1.187, allocations: 0.9023 MB / 1.207 GB, free: 6.648 MB / 0.9669 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009578/1.196, allocations: 3.976 MB / 1.211 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.207, allocations: 4.416 MB / 1.215 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/1.207, allocations: 4 kB / 1.215 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005895/1.213, allocations: 2.993 MB / 1.218 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/1.218, allocations: 0.776 MB / 1.219 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.041/1.259, allocations: 21.52 MB / 1.24 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003974/1.263, allocations: 3.216 MB / 1.243 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002087/1.265, allocations: 0.5215 MB / 1.243 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/1.267, allocations: 1.655 MB / 1.245 GB, free: 13.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/1.267, allocations: 4 kB / 1.245 GB, free: 13.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6905/1.957, allocations: 68.7 MB / 1.312 GB, free: 223 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.958, allocations: 233.9 kB / 1.312 GB, free: 222.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/5.474, allocations: 2.531 kB / 1.312 GB, free: 222.8 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R_res.mat does not exist to compare? outputFormat=mat