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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.885/1.885, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001563/0.001563, allocations: 184.4 kB / 376.9 MB, free: 1.805 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.8/1.8, allocations: 205.1 MB / 0.6354 GB, free: 9.762 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.001054/0.001054, allocations: 102 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 51.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3367, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.008033/0.3448, allocations: 4.322 MB / 0.9864 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004689/0.3496, allocations: 2.433 MB / 0.9888 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.3503, allocations: 15.88 kB / 0.9888 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.3518, allocations: 350.6 kB / 0.9892 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.3531, allocations: 342.5 kB / 0.9895 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3543, allocations: 303.3 kB / 0.9898 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3557, allocations: 0.8622 MB / 0.9906 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.3564, allocations: 254.2 kB / 0.9909 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.357, allocations: 234.9 kB / 0.9911 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/0.3577, allocations: 274.9 kB / 0.9914 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.3578, allocations: 20 kB / 0.9914 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.359, allocations: 0.5262 MB / 0.9919 GB, free: 436 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.3593, allocations: 139.5 kB / 0.992 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.3597, allocations: 226.7 kB / 0.9922 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.3612, allocations: 0.7513 MB / 0.993 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3613, allocations: 3.984 kB / 0.993 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3613, allocations: 0 / 0.993 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.3613, allocations: 0 / 0.993 GB, free: 15.31 MB / 0.7292 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.002034/0.3633, allocations: 0.7794 MB / 0.9937 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3634, allocations: 12.03 kB / 0.9938 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.365, allocations: 180.1 kB / 0.9939 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.3658, allocations: 408.4 kB / 0.9943 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.013e-05/0.3658, allocations: 33.3 kB / 0.9943 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.3659, allocations: 36.38 kB / 0.9944 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.3669, allocations: 0.651 MB / 0.995 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.367, allocations: 4 kB / 0.995 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.367, allocations: 19.98 kB / 0.995 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.224e-05/0.3671, allocations: 55.84 kB / 0.9951 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.3679, allocations: 495.4 kB / 0.9956 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.372, allocations: 3.794 MB / 0.9993 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.3738, allocations: 0.6322 MB / 0.9999 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.3741, allocations: 178.4 kB / 1 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3742, allocations: 12 kB / 1 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3742, allocations: 30.56 kB / 1 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.906e-06/0.3742, allocations: 0 / 1 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.002524/0.3767, allocations: 1.281 MB / 1.001 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.3769, allocations: 106.8 kB / 1.001 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.3774, allocations: 401.7 kB / 1.002 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3774, allocations: 29.7 kB / 1.002 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3776, allocations: 283.5 kB / 1.002 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3777, allocations: 118.3 kB / 1.002 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3779, allocations: 102.1 kB / 1.002 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3781, allocations: 350.8 kB / 1.003 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.3784, allocations: 177 kB / 1.003 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.3788, allocations: 379.2 kB / 1.003 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.3795, allocations: 0.5871 MB / 1.004 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.3796, allocations: 7.938 kB / 1.004 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00114/0.3807, allocations: 0.6706 MB / 1.004 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3807, allocations: 8.844 kB / 1.004 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3808, allocations: 11.94 kB / 1.004 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.3812, allocations: 102.4 kB / 1.005 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.3816, allocations: 115.8 kB / 1.005 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.3854, allocations: 4.04 MB / 1.009 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.3859, allocations: 31.97 kB / 1.009 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.386, allocations: 24 kB / 1.009 GB, free: 14.01 MB / 0.7448 GB 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.0003318/0.3863, allocations: 193.6 kB / 1.009 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.3865, allocations: 48.66 kB / 1.009 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/0.3875, allocations: 0.5147 MB / 1.009 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3875, allocations: 7.984 kB / 1.009 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3875, allocations: 0 / 1.009 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3875, allocations: 4 kB / 1.009 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.3895, allocations: 1.291 MB / 1.011 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3895, allocations: 288 / 1.011 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3898, allocations: 71.91 kB / 1.011 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/0.3901, allocations: 90.44 kB / 1.011 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.3902, allocations: 8 kB / 1.011 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.3947, allocations: 4.02 MB / 1.015 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3948, allocations: 4.031 kB / 1.015 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.3972, allocations: 1.611 MB / 1.016 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.3976, allocations: 152.5 kB / 1.016 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.3977, allocations: 11.94 kB / 1.016 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.3981, allocations: 27.97 kB / 1.017 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3982, allocations: 31.91 kB / 1.017 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3982, allocations: 16 kB / 1.017 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003573/0.3986, allocations: 279.1 kB / 1.017 GB, free: 5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3986, allocations: 0 / 1.017 GB, free: 5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001015/0.3996, allocations: 124 kB / 1.017 GB, free: 4.879 MB / 0.7448 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 (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.0002454/0.3999, allocations: 119.1 kB / 1.017 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.4016, allocations: 0.795 MB / 1.018 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.4017, allocations: 8.062 kB / 1.018 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.4025, allocations: 0.5317 MB / 1.018 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/0.4035, allocations: 130.3 kB / 1.018 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.4056, allocations: 1.314 MB / 1.02 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.4064, allocations: 0.8742 MB / 1.021 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.4067, allocations: 100.5 kB / 1.021 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4068, allocations: 43.36 kB / 1.021 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of SimCode: time 2.275e-06/0.4068, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of Templates: time 0.4547/0.8615, allocations: 5.721 MB / 1.026 GB, free: 96.52 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)