Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 108.1 kB / 17.03 MB, free: 5.656 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.001799/0.001799, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7497/0.7497, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.14 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.329, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005428/0.3345, allocations: 4.83 MB / 0.5623 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.3386, allocations: 2.458 MB / 0.5647 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.3391, allocations: 24.56 kB / 0.5647 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3403, allocations: 403.8 kB / 0.5651 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009794/0.3413, allocations: 449.5 kB / 0.5655 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009185/0.3422, allocations: 366.3 kB / 0.5659 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3432, allocations: 0.917 MB / 0.5668 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.3439, allocations: 349.4 kB / 0.5671 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.3443, allocations: 342.3 kB / 0.5674 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3448, allocations: 345.1 kB / 0.5678 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.3449, allocations: 37.78 kB / 0.5678 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.3456, allocations: 401.9 kB / 0.5682 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.3458, allocations: 181.7 kB / 0.5684 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.3461, allocations: 323.3 kB / 0.5687 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3471, allocations: 0.8843 MB / 0.5695 GB, free: 29.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3472, allocations: 0 / 0.5695 GB, free: 29.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3472, allocations: 0 / 0.5695 GB, free: 29.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3472, allocations: 2.281 kB / 0.5695 GB, free: 29.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001395/0.3486, allocations: 0.9362 MB / 0.5704 GB, free: 28.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3486, allocations: 9.781 kB / 0.5705 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.35, allocations: 203 kB / 0.5706 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/0.3509, allocations: 0.5348 MB / 0.5712 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.351, allocations: 35.2 kB / 0.5712 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.3511, allocations: 46.89 kB / 0.5712 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.3522, allocations: 0.8476 MB / 0.5721 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.3522, allocations: 8.062 kB / 0.5721 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.3523, allocations: 26.59 kB / 0.5721 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.3524, allocations: 66.38 kB / 0.5722 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.3533, allocations: 0.564 MB / 0.5727 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.3568, allocations: 5.643 MB / 0.5782 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.3575, allocations: 456 kB / 0.5787 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.3578, allocations: 227.9 kB / 0.5789 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3579, allocations: 4.125 kB / 0.5789 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3579, allocations: 37.12 kB / 0.5789 GB, free: 22.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.815e-06/0.3579, allocations: 2.188 kB / 0.5789 GB, free: 22.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002359/0.3603, allocations: 1.509 MB / 0.5804 GB, free: 21.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3603, allocations: 55.28 kB / 0.5805 GB, free: 21.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.3608, allocations: 496.2 kB / 0.5809 GB, free: 20.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3609, allocations: 38.42 kB / 0.581 GB, free: 20.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.361, allocations: 353.3 kB / 0.5813 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3611, allocations: 121 kB / 0.5814 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3613, allocations: 108.2 kB / 0.5815 GB, free: 20.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.3613, allocations: 369.9 kB / 0.5819 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.3616, allocations: 191.5 kB / 0.5821 GB, free: 19.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.362, allocations: 451.1 kB / 0.5825 GB, free: 19.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.3626, allocations: 0.6842 MB / 0.5832 GB, free: 19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3626, allocations: 1.812 kB / 0.5832 GB, free: 19 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001274/0.3639, allocations: 0.821 MB / 0.584 GB, free: 18.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3639, allocations: 8.812 kB / 0.584 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3639, allocations: 9.156 kB / 0.584 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.3644, allocations: 160.2 kB / 0.5841 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.3648, allocations: 122.1 kB / 0.5842 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.3672, allocations: 4.343 MB / 0.5885 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.3678, allocations: 33.39 kB / 0.5885 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3678, allocations: 28.02 kB / 0.5885 GB, free: 14.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002702/0.3681, allocations: 218.2 kB / 0.5887 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.3682, allocations: 61.78 kB / 0.5888 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000999/0.3692, allocations: 0.6 MB / 0.5894 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3692, allocations: 3.938 kB / 0.5894 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3692, allocations: 1.562 kB / 0.5894 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3692, allocations: 2.109 kB / 0.5894 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.371, allocations: 1.258 MB / 0.5906 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.371, allocations: 3.375 kB / 0.5906 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.3713, allocations: 58.08 kB / 0.5907 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003876/0.3717, allocations: 143.2 kB / 0.5908 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.3718, allocations: 11.56 kB / 0.5908 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.3741, allocations: 4.341 MB / 0.5951 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3741, allocations: 6.594 kB / 0.5951 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.3751, allocations: 0.703 MB / 0.5958 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.3753, allocations: 165.7 kB / 0.5959 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.3754, allocations: 9.047 kB / 0.5959 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.3757, allocations: 25.83 kB / 0.596 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.3758, allocations: 31.52 kB / 0.596 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.3758, allocations: 16.56 kB / 0.596 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003415/0.3762, allocations: 331.6 kB / 0.5963 GB, free: 7.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3762, allocations: 0 / 0.5963 GB, free: 7.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007088/0.3769, allocations: 142.1 kB / 0.5965 GB, free: 7.934 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.377, allocations: 110.2 kB / 0.5966 GB, free: 7.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3783, allocations: 1.044 MB / 0.5976 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3783, allocations: 0 / 0.5976 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.3789, allocations: 0.7305 MB / 0.5983 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.3799, allocations: 206.2 kB / 0.5985 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3813, allocations: 1.044 MB / 0.5995 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3816, allocations: 0.9066 MB / 0.6004 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.3819, allocations: 114.2 kB / 0.6005 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.382, allocations: 39.12 kB / 0.6005 GB, free: 4.707 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.382, allocations: 0 / 0.6005 GB, free: 4.707 MB / 446.1 MB Notification: Performance of Templates: time 0.01209/0.3941, allocations: 7.584 MB / 0.6079 GB, free: 14.77 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)