Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 108.9 kB / 17.03 MB, free: 6.094 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.001104/0.001104, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7519/0.7519, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004433/0.3571, allocations: 3.535 MB / 0.561 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3595, allocations: 1.735 MB / 0.5627 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3596, allocations: 7.781 kB / 0.5627 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007243/0.3604, allocations: 237 kB / 0.563 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.3608, allocations: 201.6 kB / 0.5631 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.3617, allocations: 255.6 kB / 0.5634 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.3623, allocations: 396 kB / 0.5638 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.3627, allocations: 205.1 kB / 0.564 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.363, allocations: 151.2 kB / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.3633, allocations: 183.8 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.3633, allocations: 28.25 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.3638, allocations: 262.6 kB / 0.5646 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3639, allocations: 97.66 kB / 0.5647 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.3641, allocations: 141.1 kB / 0.5648 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.3647, allocations: 475.3 kB / 0.5652 GB, free: 31.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3647, allocations: 1.281 kB / 0.5652 GB, free: 31.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3647, allocations: 0 / 0.5652 GB, free: 31.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3647, allocations: 0 / 0.5652 GB, free: 31.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001112/0.3658, allocations: 0.6371 MB / 0.5659 GB, free: 31.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3659, allocations: 10.59 kB / 0.5659 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007147/0.3666, allocations: 95.45 kB / 0.566 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.367, allocations: 287.1 kB / 0.5662 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.367, allocations: 13 kB / 0.5663 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.3671, allocations: 23.66 kB / 0.5663 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.3678, allocations: 416.2 kB / 0.5667 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3679, allocations: 1.188 kB / 0.5667 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.3679, allocations: 7.391 kB / 0.5667 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.3679, allocations: 27.69 kB / 0.5667 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008468/0.3688, allocations: 391.2 kB / 0.5671 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.3705, allocations: 1.615 MB / 0.5687 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3716, allocations: 465.3 kB / 0.5691 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.372, allocations: 196.7 kB / 0.5693 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3722, allocations: 89.67 kB / 0.5694 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000534/0.3727, allocations: 268.4 kB / 0.5696 GB, free: 29.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.034e-06/0.3727, allocations: 0.8438 kB / 0.5696 GB, free: 29.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001815/0.3746, allocations: 0.7376 MB / 0.5704 GB, free: 28.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3746, allocations: 89.27 kB / 0.5704 GB, free: 28.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3748, allocations: 222.5 kB / 0.5706 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3749, allocations: 33.02 kB / 0.5707 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.3749, allocations: 171.9 kB / 0.5708 GB, free: 28.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.375, allocations: 88.12 kB / 0.5709 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3751, allocations: 67.34 kB / 0.571 GB, free: 28.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.3752, allocations: 342.2 kB / 0.5713 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.3756, allocations: 175.9 kB / 0.5715 GB, free: 27.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.376, allocations: 243 kB / 0.5717 GB, free: 27.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.3769, allocations: 455.4 kB / 0.5722 GB, free: 27.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3769, allocations: 1.062 kB / 0.5722 GB, free: 27.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001109/0.378, allocations: 0.5365 MB / 0.5727 GB, free: 27.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.378, allocations: 34.11 kB / 0.5727 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.378, allocations: 2.312 kB / 0.5727 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.3783, allocations: 41.69 kB / 0.5728 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.3787, allocations: 84.06 kB / 0.5728 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3799, allocations: 1.616 MB / 0.5744 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3802, allocations: 44.44 kB / 0.5745 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.3803, allocations: 17.34 kB / 0.5745 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004451/0.3807, allocations: 273.1 kB / 0.5747 GB, free: 25.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003756/0.3811, allocations: 240.5 kB / 0.575 GB, free: 25.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007388/0.3818, allocations: 434.8 kB / 0.5754 GB, free: 25.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.3819, allocations: 1.375 kB / 0.5754 GB, free: 25.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001066/0.3829, allocations: 0.5111 MB / 0.5759 GB, free: 24.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.383, allocations: 38.38 kB / 0.5759 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.383, allocations: 3.797 kB / 0.5759 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.3831, allocations: 43.52 kB / 0.576 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3835, allocations: 83.25 kB / 0.576 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.3845, allocations: 1.615 MB / 0.5776 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.3848, allocations: 42.25 kB / 0.5777 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.3849, allocations: 16.17 kB / 0.5777 GB, free: 23.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.385, allocations: 195 kB / 0.5779 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.3851, allocations: 24.19 kB / 0.5779 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3861, allocations: 474.5 kB / 0.5783 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3861, allocations: 6.812 kB / 0.5783 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3862, allocations: 1.844 kB / 0.5783 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3862, allocations: 1.969 kB / 0.5783 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.3868, allocations: 0.5627 MB / 0.5789 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.3868, allocations: 0 / 0.5789 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.3872, allocations: 82.34 kB / 0.579 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.3874, allocations: 38.42 kB / 0.579 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3874, allocations: 7.594 kB / 0.579 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009194/0.3883, allocations: 1.522 MB / 0.5805 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3883, allocations: 1.641 kB / 0.5805 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.3893, allocations: 0.5445 MB / 0.581 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.3895, allocations: 132.1 kB / 0.5812 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.3895, allocations: 8.484 kB / 0.5812 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.3899, allocations: 33.77 kB / 0.5812 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.39, allocations: 36.55 kB / 0.5812 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.39, allocations: 10.47 kB / 0.5812 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.3902, allocations: 174.5 kB / 0.5814 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3902, allocations: 1.25 kB / 0.5814 GB, free: 20.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006268/0.3908, allocations: 130.1 kB / 0.5815 GB, free: 20.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.391, allocations: 109.3 kB / 0.5816 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.3927, allocations: 0.9834 MB / 0.5826 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3928, allocations: 0 / 0.5826 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.3934, allocations: 322.3 kB / 0.5829 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.3938, allocations: 62.64 kB / 0.583 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.395, allocations: 0.6051 MB / 0.5836 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3953, allocations: 0.785 MB / 0.5843 GB, free: 18.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.3956, allocations: 94.91 kB / 0.5844 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3957, allocations: 30.31 kB / 0.5844 GB, free: 18.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3957, allocations: 0 / 0.5844 GB, free: 18.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01015/0.4058, allocations: 4.506 MB / 0.5888 GB, free: 17.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)