Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007978/0.0007979, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005397/0.005397, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 274.9 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9469/0.9469, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004029, allocations: 16.22 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1478, allocations: 88.56 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003984/0.1518, allocations: 3.213 MB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1544, allocations: 1.712 MB / 0.69 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1545, allocations: 4 kB / 0.69 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.1547, allocations: 37.98 kB / 0.69 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.1552, allocations: 183.2 kB / 0.6902 GB, free: 9.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.1557, allocations: 229.6 kB / 0.6904 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.1562, allocations: 0.4908 MB / 0.6909 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.157, allocations: 420.6 kB / 0.6913 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1572, allocations: 127.4 kB / 0.6914 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1575, allocations: 171.4 kB / 0.6916 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.1575, allocations: 12 kB / 0.6916 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.158, allocations: 311.4 kB / 0.6919 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.1581, allocations: 91.66 kB / 0.6919 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1582, allocations: 153 kB / 0.6921 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.1587, allocations: 466.4 kB / 0.6925 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1587, allocations: 0 / 0.6925 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1587, allocations: 4 kB / 0.6925 GB, free: 7.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1587, allocations: 0 / 0.6925 GB, free: 7.434 MB / 494.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.001067/0.1598, allocations: 0.5997 MB / 0.6931 GB, free: 6.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1598, allocations: 12.03 kB / 0.6931 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006904/0.1605, allocations: 96.41 kB / 0.6932 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1609, allocations: 280.3 kB / 0.6935 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1609, allocations: 16.8 kB / 0.6935 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.1609, allocations: 20.36 kB / 0.6935 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.1617, allocations: 434.9 kB / 0.6939 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1617, allocations: 4 kB / 0.694 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.1618, allocations: 4 kB / 0.694 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.1618, allocations: 32.36 kB / 0.694 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008961/0.1627, allocations: 412.7 kB / 0.6944 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.1644, allocations: 1.611 MB / 0.696 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1655, allocations: 489.8 kB / 0.6964 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/0.166, allocations: 209.6 kB / 0.6966 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.1661, allocations: 89.09 kB / 0.6967 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.1667, allocations: 284.1 kB / 0.697 GB, free: 2.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.1667, allocations: 0 / 0.697 GB, free: 2.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001856/0.1686, allocations: 0.7772 MB / 0.6977 GB, free: 1.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1686, allocations: 77.11 kB / 0.6978 GB, free: 1.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1688, allocations: 228.9 kB / 0.698 GB, free: 1.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1689, allocations: 37.7 kB / 0.6981 GB, free: 1.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.169, allocations: 168.3 kB / 0.6982 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.1691, allocations: 94.64 kB / 0.6983 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.1691, allocations: 33.64 kB / 0.6983 GB, free: 1.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1692, allocations: 338.8 kB / 0.6987 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.1697, allocations: 184.2 kB / 0.6988 GB, free: 0.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.1701, allocations: 265.4 kB / 0.6991 GB, free: 300 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.171, allocations: 476.2 kB / 0.6996 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.171, allocations: 11.94 kB / 0.6996 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001194/0.1722, allocations: 0.5641 MB / 0.7001 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.1724, allocations: 187 kB / 0.7003 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1724, allocations: 0 / 0.7003 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.1726, allocations: 40.83 kB / 0.7003 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.173, allocations: 87.86 kB / 0.7004 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1743, allocations: 1.501 MB / 0.7019 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.1747, allocations: 59.86 kB / 0.7019 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.1747, allocations: 12 kB / 0.7019 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.1747, allocations: 4 kB / 0.702 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/0.1758, allocations: 0.4982 MB / 0.7024 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1758, allocations: 4 kB / 0.7024 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.1759, allocations: 44.81 kB / 0.7025 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.1763, allocations: 83.81 kB / 0.7026 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.1774, allocations: 1.489 MB / 0.704 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1777, allocations: 51.86 kB / 0.7041 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.1778, allocations: 16 kB / 0.7041 GB, free: 10.81 MB / 0.4981 GB 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.0001993/0.178, allocations: 236.5 kB / 0.7043 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.178, allocations: 31.66 kB / 0.7043 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1791, allocations: 495.8 kB / 0.7048 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1791, allocations: 4 kB / 0.7048 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1792, allocations: 0 / 0.7048 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1792, allocations: 0 / 0.7048 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.1798, allocations: 0.5739 MB / 0.7054 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1798, allocations: 0 / 0.7054 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.1802, allocations: 83.84 kB / 0.7055 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.1803, allocations: 36.95 kB / 0.7055 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.1803, allocations: 12.06 kB / 0.7055 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009989/0.1813, allocations: 1.413 MB / 0.7069 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1813, allocations: 0 / 0.7069 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.1823, allocations: 0.5654 MB / 0.7074 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1825, allocations: 136.7 kB / 0.7076 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.1825, allocations: 8 kB / 0.7076 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.1828, allocations: 43.95 kB / 0.7076 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.1829, allocations: 27.95 kB / 0.7076 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.183, allocations: 12 kB / 0.7077 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000145/0.1831, allocations: 168.5 kB / 0.7078 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1831, allocations: 0 / 0.7078 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005413/0.1837, allocations: 143.9 kB / 0.708 GB, free: 6.59 MB / 0.4981 GB 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.0001485/0.1838, allocations: 111.2 kB / 0.7081 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.1857, allocations: 1.012 MB / 0.709 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1857, allocations: 4.125 kB / 0.7091 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.1863, allocations: 334.5 kB / 0.7094 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.1868, allocations: 48.59 kB / 0.7094 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.188, allocations: 0.7372 MB / 0.7101 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1883, allocations: 0.7917 MB / 0.7109 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.1886, allocations: 102.3 kB / 0.711 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1887, allocations: 23.44 kB / 0.711 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1887, allocations: 0 / 0.711 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.00771/0.1965, allocations: 4.152 MB / 0.7151 GB, free: 15.2 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)