Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000793/0.000793, allocations: 98.27 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.004873/0.004873, allocations: 172.9 kB / 16.27 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 282 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004269, allocations: 17.8 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002453/0.1538, allocations: 2.115 MB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1558, allocations: 1.399 MB / 0.6886 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.1559, allocations: 4 kB / 0.6886 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.156, allocations: 24.36 kB / 0.6886 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1563, allocations: 120.9 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1567, allocations: 169 kB / 0.6889 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.157, allocations: 312.7 kB / 0.6892 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.1575, allocations: 256.2 kB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1576, allocations: 63.77 kB / 0.6895 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1578, allocations: 103.6 kB / 0.6896 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1578, allocations: 8.75 kB / 0.6896 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.1581, allocations: 215.6 kB / 0.6898 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.1582, allocations: 62.28 kB / 0.6898 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.1583, allocations: 97.3 kB / 0.6899 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1586, allocations: 283.1 kB / 0.6902 GB, free: 9.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1586, allocations: 4 kB / 0.6902 GB, free: 9.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1586, allocations: 0 / 0.6902 GB, free: 9.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1587, allocations: 0 / 0.6902 GB, free: 9.879 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.0005438/0.1592, allocations: 437.4 kB / 0.6906 GB, free: 9.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1592, allocations: 8.031 kB / 0.6906 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005114/0.1598, allocations: 60.69 kB / 0.6907 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.16, allocations: 235.9 kB / 0.6909 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.16, allocations: 9.281 kB / 0.6909 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1601, allocations: 18.09 kB / 0.6909 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.1605, allocations: 282.5 kB / 0.6912 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1605, allocations: 11.88 kB / 0.6912 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.1605, allocations: 4 kB / 0.6912 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.1606, allocations: 16.84 kB / 0.6912 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.1609, allocations: 209.8 kB / 0.6914 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.1624, allocations: 1.58 MB / 0.693 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.1628, allocations: 323.3 kB / 0.6933 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.1629, allocations: 65.69 kB / 0.6934 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1629, allocations: 3.984 kB / 0.6934 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1629, allocations: 38.48 kB / 0.6934 GB, free: 6.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1629, allocations: 0 / 0.6934 GB, free: 6.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004937/0.1634, allocations: 240.9 kB / 0.6936 GB, free: 6.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1635, allocations: 81.09 kB / 0.6937 GB, free: 5.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1637, allocations: 208.2 kB / 0.6939 GB, free: 5.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1637, allocations: 25.7 kB / 0.6939 GB, free: 5.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.1638, allocations: 155.8 kB / 0.6941 GB, free: 5.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1638, allocations: 39.45 kB / 0.6941 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.1639, allocations: 25.7 kB / 0.6941 GB, free: 5.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.164, allocations: 322.8 kB / 0.6945 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1641, allocations: 71.95 kB / 0.6945 GB, free: 5.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1642, allocations: 153 kB / 0.6947 GB, free: 4.898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1645, allocations: 242.9 kB / 0.6949 GB, free: 4.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1645, allocations: 0 / 0.6949 GB, free: 4.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003586/0.1649, allocations: 253.2 kB / 0.6951 GB, free: 4.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.165, allocations: 181.6 kB / 0.6953 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.165, allocations: 4.078 kB / 0.6953 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.165, allocations: 4 kB / 0.6953 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.1652, allocations: 51.91 kB / 0.6954 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1653, allocations: 11.92 kB / 0.6954 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1654, allocations: 19.89 kB / 0.6954 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1655, allocations: 8 kB / 0.6954 GB, free: 4.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/0.1655, allocations: 8 kB / 0.6954 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002709/0.1657, allocations: 195.6 kB / 0.6956 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1658, allocations: 4 kB / 0.6956 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-06/0.1658, allocations: 4 kB / 0.6956 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1659, allocations: 47.91 kB / 0.6957 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1659, allocations: 8.312 kB / 0.6957 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1661, allocations: 19.92 kB / 0.6957 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1661, allocations: 12.12 kB / 0.6957 GB, free: 3.758 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.0001263/0.1662, allocations: 221 kB / 0.6959 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.1663, allocations: 19.81 kB / 0.6959 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1665, allocations: 143 kB / 0.6961 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1665, allocations: 0 / 0.6961 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1666, allocations: 7.875 kB / 0.6961 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1666, allocations: 8 kB / 0.6961 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.1674, allocations: 0.7159 MB / 0.6968 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1674, allocations: 4 kB / 0.6968 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1676, allocations: 23.98 kB / 0.6968 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.1676, allocations: 3.984 kB / 0.6968 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1676, allocations: 4 kB / 0.6968 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1676, allocations: 4 kB / 0.6968 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1676, allocations: 7.938 kB / 0.6968 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1679, allocations: 386.3 kB / 0.6972 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.168, allocations: 112.8 kB / 0.6973 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.168, allocations: 4 kB / 0.6973 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1682, allocations: 4 kB / 0.6973 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1682, allocations: 19.92 kB / 0.6973 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.1682, allocations: 4 kB / 0.6973 GB, free: 1.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1683, allocations: 144.1 kB / 0.6975 GB, free: 1.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1683, allocations: 4 kB / 0.6975 GB, free: 1.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000492/0.1688, allocations: 71.98 kB / 0.6975 GB, free: 1.707 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.0001208/0.169, allocations: 107.2 kB / 0.6976 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.1694, allocations: 260.8 kB / 0.6979 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1694, allocations: 0 / 0.6979 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.1695, allocations: 59.83 kB / 0.6979 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.17, allocations: 36.5 kB / 0.698 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.1706, allocations: 0.4896 MB / 0.6985 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1709, allocations: 0.7402 MB / 0.6992 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000193/0.1711, allocations: 69.47 kB / 0.6992 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.1712, allocations: 19.44 kB / 0.6993 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1712, allocations: 0 / 0.6993 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.004125/0.1753, allocations: 1.668 MB / 0.7009 GB, free: 14.2 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)