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.0007963/0.0007962, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005064/0.005064, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001704, allocations: 267.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 18.45 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1624, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003366/0.1658, allocations: 2.309 MB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.1681, allocations: 1.402 MB / 0.6888 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.1682, allocations: 3.938 kB / 0.6888 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1683, allocations: 19.86 kB / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.1687, allocations: 121.1 kB / 0.6889 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1691, allocations: 172.6 kB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.1694, allocations: 314.6 kB / 0.6894 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.1699, allocations: 246.5 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.17, allocations: 67.77 kB / 0.6897 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1703, allocations: 104.3 kB / 0.6898 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1703, allocations: 4 kB / 0.6898 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.1706, allocations: 220.7 kB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.1707, allocations: 59.81 kB / 0.69 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.28e-05/0.1708, allocations: 93.31 kB / 0.6901 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1712, allocations: 287.6 kB / 0.6904 GB, free: 9.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1712, allocations: 0 / 0.6904 GB, free: 9.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1712, allocations: 2.219 kB / 0.6904 GB, free: 9.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1712, allocations: 0 / 0.6904 GB, free: 9.641 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.0006141/0.1718, allocations: 439.3 kB / 0.6908 GB, free: 9.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1719, allocations: 8.031 kB / 0.6908 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.1724, allocations: 69.17 kB / 0.6909 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1726, allocations: 220.6 kB / 0.6911 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1727, allocations: 16.64 kB / 0.6911 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1727, allocations: 22.31 kB / 0.6911 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.1732, allocations: 282.7 kB / 0.6914 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1732, allocations: 0 / 0.6914 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.1732, allocations: 7.984 kB / 0.6914 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.1733, allocations: 24.22 kB / 0.6914 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.1736, allocations: 205.2 kB / 0.6916 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1753, allocations: 1.581 MB / 0.6932 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.1757, allocations: 323.3 kB / 0.6935 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1758, allocations: 61.84 kB / 0.6935 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1759, allocations: 3.984 kB / 0.6935 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1759, allocations: 42.55 kB / 0.6936 GB, free: 6.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1759, allocations: 0 / 0.6936 GB, free: 6.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005369/0.1764, allocations: 240.5 kB / 0.6938 GB, free: 5.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1765, allocations: 81.3 kB / 0.6939 GB, free: 5.711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1767, allocations: 196 kB / 0.6941 GB, free: 5.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1767, allocations: 29.7 kB / 0.6941 GB, free: 5.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1769, allocations: 163.5 kB / 0.6943 GB, free: 5.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1769, allocations: 35.45 kB / 0.6943 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.177, allocations: 25.7 kB / 0.6943 GB, free: 5.246 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1772, allocations: 322.8 kB / 0.6946 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1773, allocations: 67.95 kB / 0.6947 GB, free: 4.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1775, allocations: 157.1 kB / 0.6948 GB, free: 4.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1777, allocations: 234.9 kB / 0.6951 GB, free: 4.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1777, allocations: 0 / 0.6951 GB, free: 4.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003708/0.1781, allocations: 249.3 kB / 0.6953 GB, free: 4.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1783, allocations: 183.5 kB / 0.6955 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1783, allocations: 128 / 0.6955 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1783, allocations: 4 kB / 0.6955 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1785, allocations: 59.91 kB / 0.6955 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1785, allocations: 4.469 kB / 0.6956 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1787, allocations: 19.89 kB / 0.6956 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1787, allocations: 15.98 kB / 0.6956 GB, free: 3.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.1787, allocations: 4 kB / 0.6956 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002868/0.179, allocations: 195.7 kB / 0.6958 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.179, allocations: 4.047 kB / 0.6958 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.1791, allocations: 7.984 kB / 0.6958 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1792, allocations: 48.28 kB / 0.6958 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.436e-05/0.1793, allocations: 11.98 kB / 0.6958 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1794, allocations: 19.92 kB / 0.6959 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1794, allocations: 8 kB / 0.6959 GB, free: 3.527 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 0.000202/0.1796, allocations: 217 kB / 0.6961 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1797, allocations: 23.75 kB / 0.6961 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.1799, allocations: 143 kB / 0.6962 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1799, allocations: 0 / 0.6962 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.18, allocations: 7.938 kB / 0.6962 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.18, allocations: 7.938 kB / 0.6963 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.1809, allocations: 0.712 MB / 0.6969 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1809, allocations: 0 / 0.6969 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.181, allocations: 27.97 kB / 0.697 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.181, allocations: 4 kB / 0.697 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.181, allocations: 8 kB / 0.697 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.181, allocations: 3.938 kB / 0.697 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.181, allocations: 4 kB / 0.697 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.1814, allocations: 386.4 kB / 0.6974 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.1814, allocations: 112.8 kB / 0.6975 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1815, allocations: 8 kB / 0.6975 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1816, allocations: 7.984 kB / 0.6975 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1817, allocations: 19.88 kB / 0.6975 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1817, allocations: 4 kB / 0.6975 GB, free: 1.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1818, allocations: 157.1 kB / 0.6977 GB, free: 1.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1818, allocations: 0 / 0.6977 GB, free: 1.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.1823, allocations: 68 kB / 0.6977 GB, free: 1.469 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.000184/0.1825, allocations: 103.2 kB / 0.6978 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.183, allocations: 264.6 kB / 0.6981 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.183, allocations: 0 / 0.6981 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/0.1831, allocations: 67.83 kB / 0.6981 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.1836, allocations: 30.84 kB / 0.6982 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.1843, allocations: 0.489 MB / 0.6986 GB, free: 476 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1847, allocations: 0.7363 MB / 0.6994 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.1849, allocations: 73.47 kB / 0.6994 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.1849, allocations: 19.44 kB / 0.6995 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1849, allocations: 0 / 0.6995 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.00432/0.1892, allocations: 1.664 MB / 0.7011 GB, free: 13.99 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)