Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008117/0.000812, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 182.2 kB / 16.92 MB, free: 6.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8385/0.8385, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 17.14 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4831, allocations: 79.28 MB / 0.5708 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00526/0.4884, allocations: 3.915 MB / 0.5746 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.4923, allocations: 2.36 MB / 0.5769 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.4927, allocations: 14.62 kB / 0.5769 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.493, allocations: 67.23 kB / 0.577 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009338/0.4939, allocations: 347.1 kB / 0.5773 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.4947, allocations: 294.1 kB / 0.5776 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.4958, allocations: 0.8603 MB / 0.5784 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008705/0.4967, allocations: 461.6 kB / 0.5788 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.4971, allocations: 222.6 kB / 0.5791 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.4975, allocations: 262.6 kB / 0.5793 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.4975, allocations: 16.12 kB / 0.5793 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4986, allocations: 0.5308 MB / 0.5798 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.4987, allocations: 129.4 kB / 0.58 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.499, allocations: 244.3 kB / 0.5802 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009847/0.5, allocations: 0.7421 MB / 0.5809 GB, free: 4.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.5, allocations: 0.75 kB / 0.5809 GB, free: 4.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5, allocations: 0 / 0.5809 GB, free: 4.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.5, allocations: 0 / 0.5809 GB, free: 4.766 MB / 430.1 MB 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.0009874/0.501, allocations: 0.7081 MB / 0.5816 GB, free: 4.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.501, allocations: 9.219 kB / 0.5816 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.5024, allocations: 185.2 kB / 0.5818 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.5029, allocations: 404.6 kB / 0.5822 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.503, allocations: 23.12 kB / 0.5822 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.5031, allocations: 42.59 kB / 0.5823 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.504, allocations: 0.6492 MB / 0.5829 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.504, allocations: 18.19 kB / 0.5829 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.5041, allocations: 13.38 kB / 0.5829 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.983e-05/0.5042, allocations: 55.22 kB / 0.583 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.5049, allocations: 0.4884 MB / 0.5834 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.5077, allocations: 3.786 MB / 0.5871 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.5095, allocations: 0.6329 MB / 0.5878 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.5099, allocations: 180 kB / 0.5879 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5099, allocations: 3.281 kB / 0.5879 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5099, allocations: 41.39 kB / 0.588 GB, free: 15.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.983e-06/0.5099, allocations: 0 / 0.588 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002622/0.5126, allocations: 1.278 MB / 0.5892 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.5127, allocations: 110.9 kB / 0.5893 GB, free: 14.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.5132, allocations: 399.4 kB / 0.5897 GB, free: 14.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.5132, allocations: 31.23 kB / 0.5897 GB, free: 14.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.5134, allocations: 284.6 kB / 0.59 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5135, allocations: 115.6 kB / 0.5901 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.5136, allocations: 55.31 kB / 0.5902 GB, free: 14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5138, allocations: 354.4 kB / 0.5905 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.5141, allocations: 175.2 kB / 0.5907 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.5145, allocations: 373.4 kB / 0.591 GB, free: 13.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.5153, allocations: 0.5919 MB / 0.5916 GB, free: 12.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5153, allocations: 5.562 kB / 0.5916 GB, free: 12.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001215/0.5165, allocations: 0.6734 MB / 0.5923 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5166, allocations: 8.125 kB / 0.5923 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5166, allocations: 6.844 kB / 0.5923 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.517, allocations: 107.3 kB / 0.5924 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.5174, allocations: 109.1 kB / 0.5925 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.5206, allocations: 4.041 MB / 0.5964 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.521, allocations: 29.53 kB / 0.5965 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.5211, allocations: 26.19 kB / 0.5965 GB, free: 8.523 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.5214, allocations: 194.6 kB / 0.5967 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5215, allocations: 52.67 kB / 0.5967 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009409/0.5224, allocations: 0.5127 MB / 0.5972 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5225, allocations: 4.703 kB / 0.5972 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5225, allocations: 1.5 kB / 0.5972 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5225, allocations: 3.125 kB / 0.5972 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.5244, allocations: 1.281 MB / 0.5985 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5244, allocations: 6.594 kB / 0.5985 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.5246, allocations: 60.8 kB / 0.5986 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.525, allocations: 92.69 kB / 0.5986 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.525, allocations: 11.06 kB / 0.5987 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.5281, allocations: 4.037 MB / 0.6026 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5281, allocations: 10.31 kB / 0.6026 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.5291, allocations: 0.776 MB / 0.6034 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.5293, allocations: 157.9 kB / 0.6035 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.5294, allocations: 17.69 kB / 0.6035 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.5297, allocations: 25.08 kB / 0.6036 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.5298, allocations: 28.52 kB / 0.6036 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.5298, allocations: 13.72 kB / 0.6036 GB, free: 2.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003399/0.5301, allocations: 280.9 kB / 0.6039 GB, free: 2.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5301, allocations: 0 / 0.6039 GB, free: 2.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.5309, allocations: 125.1 kB / 0.604 GB, free: 2.383 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.5311, allocations: 114.3 kB / 0.6041 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.5324, allocations: 0.8039 MB / 0.6049 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5324, allocations: 5.844 kB / 0.6049 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.5332, allocations: 0.5402 MB / 0.6054 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5342, allocations: 130.5 kB / 0.6055 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.5358, allocations: 1.101 MB / 0.6066 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.5363, allocations: 0.8618 MB / 0.6075 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.5366, allocations: 99.69 kB / 0.6076 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5367, allocations: 38.17 kB / 0.6076 GB, free: 15.82 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5367, allocations: 1.219 kB / 0.6076 GB, free: 15.82 MB / 462.1 MB Notification: Performance of Templates: time 0.01127/0.548, allocations: 5.469 MB / 0.6129 GB, free: 13.18 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)