Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00152/0.00152, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 275.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9203/0.9203, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 91.61 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1475, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003673/0.1512, allocations: 2.665 MB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1532, allocations: 1.419 MB / 0.6834 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.1533, allocations: 3.938 kB / 0.6834 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.1539, allocations: 168.1 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1542, allocations: 123.5 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1546, allocations: 166.2 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1548, allocations: 311.2 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1551, allocations: 133.2 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1552, allocations: 79.64 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1555, allocations: 107.6 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1555, allocations: 8 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.1558, allocations: 223.5 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.1559, allocations: 55.88 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.1559, allocations: 79.59 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.1563, allocations: 291.1 kB / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1563, allocations: 0 / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1563, allocations: 0 / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1563, allocations: 0 / 0.6851 GB, free: 11.37 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006043/0.1569, allocations: 475.1 kB / 0.6856 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.1569, allocations: 8.031 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005155/0.1575, allocations: 68.67 kB / 0.6856 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1577, allocations: 220.1 kB / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1577, allocations: 20.64 kB / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1577, allocations: 12.38 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.1581, allocations: 280.2 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1582, allocations: 7.906 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1582, allocations: 11.97 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.1582, allocations: 20.22 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.1585, allocations: 208.5 kB / 0.6864 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1601, allocations: 1.576 MB / 0.6879 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1604, allocations: 315.3 kB / 0.6882 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.1605, allocations: 65.67 kB / 0.6883 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1606, allocations: 12.14 kB / 0.6883 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.1606, allocations: 30.56 kB / 0.6883 GB, free: 7.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1606, allocations: 0 / 0.6883 GB, free: 7.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004997/0.1611, allocations: 244.5 kB / 0.6886 GB, free: 7.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1611, allocations: 77.11 kB / 0.6886 GB, free: 7.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1613, allocations: 208.7 kB / 0.6888 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1613, allocations: 29.7 kB / 0.6889 GB, free: 7.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.1614, allocations: 155.8 kB / 0.689 GB, free: 7.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1615, allocations: 39.53 kB / 0.689 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.1615, allocations: 49.61 kB / 0.6891 GB, free: 6.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.1616, allocations: 326.8 kB / 0.6894 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1617, allocations: 72.81 kB / 0.6895 GB, free: 6.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1619, allocations: 149.1 kB / 0.6896 GB, free: 6.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1622, allocations: 231 kB / 0.6898 GB, free: 6.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1622, allocations: 11.94 kB / 0.6898 GB, free: 6.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003657/0.1625, allocations: 257.1 kB / 0.6901 GB, free: 5.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1626, allocations: 7.938 kB / 0.6901 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1626, allocations: 4 kB / 0.6901 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1626, allocations: 8.312 kB / 0.6901 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.1628, allocations: 63.89 kB / 0.6902 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.056e-06/0.1628, allocations: 4 kB / 0.6902 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.163, allocations: 15.98 kB / 0.6902 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.163, allocations: 8 kB / 0.6902 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001507/0.1632, allocations: 164.5 kB / 0.6903 GB, free: 5.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001283/0.1633, allocations: 151.2 kB / 0.6905 GB, free: 5.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002196/0.1635, allocations: 211.8 kB / 0.6907 GB, free: 5.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.1635, allocations: 4 kB / 0.6907 GB, free: 5.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003284/0.1639, allocations: 245 kB / 0.6909 GB, free: 4.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.1639, allocations: 4 kB / 0.6909 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1639, allocations: 4 kB / 0.6909 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.1639, allocations: 4.406 kB / 0.6909 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1641, allocations: 55.91 kB / 0.691 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1641, allocations: 11.88 kB / 0.691 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1642, allocations: 15.98 kB / 0.691 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1643, allocations: 8 kB / 0.691 GB, free: 4.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.1643, allocations: 188.2 kB / 0.6912 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1644, allocations: 19.75 kB / 0.6912 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.1646, allocations: 143 kB / 0.6914 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1647, allocations: 11.94 kB / 0.6914 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1647, allocations: 0 / 0.6914 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1647, allocations: 0 / 0.6914 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.1655, allocations: 0.7158 MB / 0.6921 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1655, allocations: 0 / 0.6921 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1656, allocations: 31.91 kB / 0.6921 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1657, allocations: 4 kB / 0.6921 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1657, allocations: 8 kB / 0.6921 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1657, allocations: 4 kB / 0.6921 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1657, allocations: 3.938 kB / 0.6921 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.166, allocations: 382.5 kB / 0.6925 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.1661, allocations: 112.8 kB / 0.6926 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1661, allocations: 4 kB / 0.6926 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1663, allocations: 11.98 kB / 0.6926 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.1663, allocations: 15.98 kB / 0.6926 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1663, allocations: 11.98 kB / 0.6926 GB, free: 2.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1664, allocations: 148.3 kB / 0.6928 GB, free: 2.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1664, allocations: 0 / 0.6928 GB, free: 2.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.1669, allocations: 75.92 kB / 0.6929 GB, free: 2.703 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001152/0.167, allocations: 107.2 kB / 0.693 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.1674, allocations: 260.2 kB / 0.6932 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1674, allocations: 4 kB / 0.6932 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.1675, allocations: 63.83 kB / 0.6933 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.168, allocations: 33.16 kB / 0.6933 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.1686, allocations: 491.1 kB / 0.6938 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1689, allocations: 0.7363 MB / 0.6945 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1691, allocations: 73.45 kB / 0.6946 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.1692, allocations: 19.44 kB / 0.6946 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1692, allocations: 0 / 0.6946 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of Templates: time 0.003934/0.1731, allocations: 1.687 MB / 0.6962 GB, free: 15.2 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)