Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 185 kB / 377.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 0.6366 GB, free: 8.57 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009125/0.0009124, allocations: 84.77 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 8 kB / 0.8749 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 116.3 MB / 0.9884 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7608/1.048, allocations: 154.7 MB / 1.14 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.048, allocations: 96.59 kB / 1.14 GB, free: 23.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06327/1.111, allocations: 27.72 MB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/1.111, allocations: 0 / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.17e-05/1.111, allocations: 19.94 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00121/1.113, allocations: 0.7378 MB / 1.167 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.113, allocations: 12.02 kB / 1.167 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/1.113, allocations: 78.53 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.114, allocations: 189.2 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/1.115, allocations: 394.4 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/1.115, allocations: 24.98 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/1.115, allocations: 39.42 kB / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/1.116, allocations: 0.6885 MB / 1.169 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.116, allocations: 7.938 kB / 1.169 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/1.116, allocations: 19.98 kB / 1.169 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/1.116, allocations: 47.97 kB / 1.169 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/1.117, allocations: 495.3 kB / 1.169 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/1.121, allocations: 3.802 MB / 1.173 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/1.122, allocations: 0.6815 MB / 1.174 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/1.122, allocations: 4 kB / 1.174 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.123, allocations: 39.62 kB / 1.174 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/1.123, allocations: 4 kB / 1.174 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.002152/1.125, allocations: 1.274 MB / 1.175 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.125, allocations: 106.8 kB / 1.175 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/1.125, allocations: 348.9 kB / 1.175 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/1.125, allocations: 33.7 kB / 1.175 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/1.125, allocations: 279.5 kB / 1.176 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/1.126, allocations: 114.4 kB / 1.176 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/1.126, allocations: 8 kB / 1.176 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00019/1.126, allocations: 362.7 kB / 1.176 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/1.126, allocations: 165 kB / 1.176 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/1.126, allocations: 349.4 kB / 1.177 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/1.127, allocations: 230.5 kB / 1.177 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.127, allocations: 0 / 1.177 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009395/1.128, allocations: 0.6491 MB / 1.178 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.128, allocations: 9.406 kB / 1.178 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.128, allocations: 11.94 kB / 1.178 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/1.128, allocations: 94.45 kB / 1.178 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/1.128, allocations: 103.8 kB / 1.178 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/1.132, allocations: 4.062 MB / 1.182 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/1.132, allocations: 27.97 kB / 1.182 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/1.132, allocations: 24 kB / 1.182 GB, free: 15.19 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (57): * Single equations (assignments): 54 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002817/1.132, allocations: 193.8 kB / 1.182 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.133, allocations: 51.39 kB / 1.182 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/1.133, allocations: 0.5185 MB / 1.183 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.133, allocations: 8 kB / 1.183 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/1.133, allocations: 0 / 1.183 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.133, allocations: 11.94 kB / 1.183 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.135, allocations: 1.276 MB / 1.184 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.135, allocations: 10.17 kB / 1.184 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/1.135, allocations: 59.91 kB / 1.184 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/1.136, allocations: 90.5 kB / 1.184 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/1.136, allocations: 8 kB / 1.184 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/1.139, allocations: 4.06 MB / 1.188 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.139, allocations: 4 kB / 1.188 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/1.14, allocations: 0.9052 MB / 1.189 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/1.14, allocations: 152.5 kB / 1.189 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/1.14, allocations: 8 kB / 1.189 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.14, allocations: 25.91 kB / 1.189 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/1.14, allocations: 35.86 kB / 1.189 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/1.14, allocations: 16 kB / 1.189 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002823/1.141, allocations: 271.1 kB / 1.189 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3e-07/1.141, allocations: 0 / 1.189 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000671/1.141, allocations: 132 kB / 1.189 GB, free: 6.719 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/1.143, allocations: 2.22 MB / 1.192 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001169/1.144, allocations: 0.8014 MB / 1.192 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.144, allocations: 0 / 1.192 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/1.145, allocations: 0.543 MB / 1.193 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/1.145, allocations: 111 kB / 1.193 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/1.151, allocations: 6.706 MB / 1.2 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/1.151, allocations: 0.8703 MB / 1.2 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.152, allocations: 100.5 kB / 1.2 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.152, allocations: 155.4 kB / 1.201 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of SimCode: time 2.094e-06/1.152, allocations: 0 / 1.201 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/1.176, allocations: 9.42 MB / 1.21 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.176, allocations: 205.8 kB / 1.21 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.514, allocations: 0 / 1.21 GB, free: 1.371 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)