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.001266/0.001266, allocations: 104 kB / 15.6 MB, free: 148 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.001347/0.001347, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 290.7 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9108/0.9108, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 97.12 kB / 0.5952 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003637/0.1422, allocations: 2.599 MB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1442, allocations: 1.422 MB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.1443, allocations: 4.656 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.1449, allocations: 176 kB / 0.6843 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1451, allocations: 132.7 kB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1455, allocations: 181.5 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1457, allocations: 215.3 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.146, allocations: 125.2 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1461, allocations: 91.62 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1463, allocations: 95.7 kB / 0.6851 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1464, allocations: 23.86 kB / 0.6851 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1466, allocations: 187.7 kB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.1467, allocations: 63.88 kB / 0.6854 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.1468, allocations: 75.59 kB / 0.6854 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1472, allocations: 283.1 kB / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1472, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1472, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1472, allocations: 0 / 0.6857 GB, free: 11.03 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.0006093/0.1478, allocations: 471.1 kB / 0.6861 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1478, allocations: 16.02 kB / 0.6862 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.1484, allocations: 56.69 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1486, allocations: 232 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1486, allocations: 8.656 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.1487, allocations: 12.38 kB / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.1491, allocations: 292.2 kB / 0.6867 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1491, allocations: 7.844 kB / 0.6867 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1491, allocations: 8 kB / 0.6868 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.1491, allocations: 16.22 kB / 0.6868 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1495, allocations: 208.5 kB / 0.687 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.151, allocations: 1.572 MB / 0.6885 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.1514, allocations: 327.3 kB / 0.6888 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.1514, allocations: 65.69 kB / 0.6889 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.1515, allocations: 0 / 0.6889 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1515, allocations: 38.62 kB / 0.6889 GB, free: 7.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1515, allocations: 0 / 0.6889 GB, free: 7.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004872/0.152, allocations: 248.7 kB / 0.6892 GB, free: 7.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1521, allocations: 81.11 kB / 0.6892 GB, free: 7.062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1522, allocations: 200.1 kB / 0.6894 GB, free: 6.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1523, allocations: 33.64 kB / 0.6895 GB, free: 6.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1524, allocations: 155.8 kB / 0.6896 GB, free: 6.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1524, allocations: 39.55 kB / 0.6896 GB, free: 6.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.1525, allocations: 49.55 kB / 0.6897 GB, free: 6.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1526, allocations: 330.8 kB / 0.69 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1527, allocations: 72.83 kB / 0.6901 GB, free: 6.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1529, allocations: 161 kB / 0.6902 GB, free: 5.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.1532, allocations: 230.9 kB / 0.6904 GB, free: 5.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1532, allocations: 0 / 0.6904 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003686/0.1536, allocations: 257.2 kB / 0.6907 GB, free: 5.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1536, allocations: 8.375 kB / 0.6907 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1536, allocations: 11.94 kB / 0.6907 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1536, allocations: 7.938 kB / 0.6907 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.1538, allocations: 47.91 kB / 0.6908 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1539, allocations: 4 kB / 0.6908 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.154, allocations: 15.98 kB / 0.6908 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.154, allocations: 11.98 kB / 0.6908 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001478/0.1542, allocations: 160.1 kB / 0.6909 GB, free: 5.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001527/0.1543, allocations: 158.2 kB / 0.6911 GB, free: 4.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002212/0.1546, allocations: 215.8 kB / 0.6913 GB, free: 4.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1546, allocations: 0 / 0.6913 GB, free: 4.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003135/0.1549, allocations: 241.1 kB / 0.6915 GB, free: 4.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.1549, allocations: 12.34 kB / 0.6915 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.1549, allocations: 0 / 0.6915 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.1549, allocations: 12 kB / 0.6916 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1551, allocations: 47.91 kB / 0.6916 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1551, allocations: 7.938 kB / 0.6916 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1552, allocations: 8 kB / 0.6916 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1552, allocations: 15.98 kB / 0.6916 GB, free: 4.391 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.789e-05/0.1553, allocations: 192.1 kB / 0.6918 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.1554, allocations: 15.81 kB / 0.6918 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1556, allocations: 143 kB / 0.692 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1556, allocations: 7.938 kB / 0.692 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1556, allocations: 3.938 kB / 0.692 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1557, allocations: 3.984 kB / 0.692 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.1565, allocations: 0.7119 MB / 0.6927 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1565, allocations: 4 kB / 0.6927 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.1566, allocations: 19.98 kB / 0.6927 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1566, allocations: 4 kB / 0.6927 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1566, allocations: 8 kB / 0.6927 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1566, allocations: 7.938 kB / 0.6927 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1567, allocations: 4.344 kB / 0.6927 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1569, allocations: 386.3 kB / 0.6931 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.157, allocations: 108.8 kB / 0.6932 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1571, allocations: 12 kB / 0.6932 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1572, allocations: 15.92 kB / 0.6932 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1573, allocations: 23.86 kB / 0.6932 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1573, allocations: 4 kB / 0.6932 GB, free: 2.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1574, allocations: 149.1 kB / 0.6934 GB, free: 2.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1574, allocations: 0 / 0.6934 GB, free: 2.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.1579, allocations: 68 kB / 0.6935 GB, free: 2.363 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.000119/0.158, allocations: 103.2 kB / 0.6936 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.1584, allocations: 271.7 kB / 0.6938 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1584, allocations: 0 / 0.6938 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.1585, allocations: 57.41 kB / 0.6939 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1589, allocations: 33.22 kB / 0.6939 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.1595, allocations: 418.9 kB / 0.6943 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1599, allocations: 0.7441 MB / 0.695 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1601, allocations: 69.47 kB / 0.6951 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1601, allocations: 19.42 kB / 0.6951 GB, free: 0.582 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1601, allocations: 7.938 kB / 0.6951 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of Templates: time 0.004201/0.1643, allocations: 1.75 MB / 0.6968 GB, free: 14.86 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)