Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 98.58 kB / 16.02 MB, free: 80 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.00119/0.00119, allocations: 181.9 kB / 16.92 MB, free: 6.688 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6788/0.6788, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003813, allocations: 8 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004309/0.1696, allocations: 3.398 MB / 0.5633 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.1728, allocations: 1.774 MB / 0.565 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.1733, allocations: 15.88 kB / 0.565 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1736, allocations: 55.48 kB / 0.5651 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1746, allocations: 274.7 kB / 0.5654 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.1754, allocations: 227.5 kB / 0.5656 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009436/0.1763, allocations: 0.7375 MB / 0.5663 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/0.177, allocations: 374.9 kB / 0.5666 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.1775, allocations: 199 kB / 0.5668 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.1779, allocations: 223 kB / 0.567 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.1779, allocations: 12 kB / 0.5671 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.1786, allocations: 343.3 kB / 0.5674 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.1788, allocations: 99.66 kB / 0.5675 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.1792, allocations: 220.5 kB / 0.5677 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009989/0.1802, allocations: 0.5802 MB / 0.5683 GB, free: 476 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1802, allocations: 0 / 0.5683 GB, free: 476 kB / 430.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1803, allocations: 0 / 0.5683 GB, free: 476 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.1803, allocations: 3.938 kB / 0.5683 GB, free: 472 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001505/0.1818, allocations: 0.676 MB / 0.5689 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1818, allocations: 8.031 kB / 0.5689 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1829, allocations: 136.2 kB / 0.5691 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.1836, allocations: 367.7 kB / 0.5694 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.1837, allocations: 25.02 kB / 0.5694 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.1838, allocations: 32.28 kB / 0.5695 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009213/0.1847, allocations: 0.5588 MB / 0.57 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.1847, allocations: 3.984 kB / 0.57 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1848, allocations: 27.92 kB / 0.57 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.498e-05/0.1849, allocations: 36.55 kB / 0.5701 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007759/0.1856, allocations: 417.7 kB / 0.5705 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.1888, allocations: 3.337 MB / 0.5737 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.1895, allocations: 338.5 kB / 0.5741 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.1898, allocations: 184.7 kB / 0.5742 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1898, allocations: 4 kB / 0.5742 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1898, allocations: 38.5 kB / 0.5743 GB, free: 9.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.1899, allocations: 0 / 0.5743 GB, free: 9.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002016/0.1919, allocations: 1.079 MB / 0.5753 GB, free: 8.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1919, allocations: 63.62 kB / 0.5754 GB, free: 8.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1923, allocations: 337.5 kB / 0.5757 GB, free: 8.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1923, allocations: 29.7 kB / 0.5757 GB, free: 8.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1925, allocations: 247.5 kB / 0.576 GB, free: 8.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.1925, allocations: 94.66 kB / 0.5761 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.1926, allocations: 41.69 kB / 0.5761 GB, free: 7.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1927, allocations: 342.8 kB / 0.5764 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.193, allocations: 156.8 kB / 0.5766 GB, free: 7.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.1934, allocations: 294.5 kB / 0.5769 GB, free: 7.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.194, allocations: 492.7 kB / 0.5773 GB, free: 6.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.194, allocations: 4 kB / 0.5773 GB, free: 6.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000966/0.195, allocations: 0.5774 MB / 0.5779 GB, free: 5.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.195, allocations: 8 kB / 0.5779 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.195, allocations: 4.562 kB / 0.5779 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.1954, allocations: 94.44 kB / 0.578 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.1957, allocations: 83.89 kB / 0.5781 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.1957, allocations: 15.92 kB / 0.5781 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.196, allocations: 31.91 kB / 0.5781 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.196, allocations: 20 kB / 0.5781 GB, free: 5.645 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.1962, allocations: 177.2 kB / 0.5783 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.1963, allocations: 39.53 kB / 0.5784 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.1971, allocations: 476 kB / 0.5788 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1972, allocations: 4 kB / 0.5788 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.1972, allocations: 4 kB / 0.5788 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1972, allocations: 0 / 0.5788 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.1986, allocations: 0.9792 MB / 0.5798 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1986, allocations: 0 / 0.5798 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.1988, allocations: 51.95 kB / 0.5798 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.1991, allocations: 90.48 kB / 0.5799 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1991, allocations: 8 kB / 0.5799 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1991, allocations: 4 kB / 0.5799 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1991, allocations: 4 kB / 0.5799 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.1999, allocations: 0.5506 MB / 0.5805 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2001, allocations: 136.6 kB / 0.5806 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.2001, allocations: 7.984 kB / 0.5806 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2003, allocations: 27.98 kB / 0.5806 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.2004, allocations: 27.89 kB / 0.5807 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2004, allocations: 8 kB / 0.5807 GB, free: 2.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.2006, allocations: 231.2 kB / 0.5809 GB, free: 2.684 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.2007, allocations: 4 kB / 0.5809 GB, free: 2.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.201, allocations: 91.94 kB / 0.581 GB, free: 2.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.2012, allocations: 104.1 kB / 0.5811 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008502/0.202, allocations: 0.6437 MB / 0.5817 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2021, allocations: 0 / 0.5817 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.2025, allocations: 442 kB / 0.5821 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.2032, allocations: 125.4 kB / 0.5822 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2043, allocations: 0.8986 MB / 0.5831 GB, free: 224 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2496/0.454, allocations: 0.8202 MB / 0.5839 GB, free: 30.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.4544, allocations: 76.88 kB / 0.584 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.4545, allocations: 30.41 kB / 0.584 GB, free: 30.48 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4545, allocations: 0 / 0.584 GB, free: 30.48 MB / 446.1 MB Notification: Performance of Templates: time 0.01141/0.4659, allocations: 4.449 MB / 0.5884 GB, free: 30.32 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)