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.001638/0.001638, allocations: 109 kB / 17.04 MB, free: 5.812 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.001608/0.001608, allocations: 195 kB / 17.98 MB, free: 5.027 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8189/0.8189, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3523, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004642/0.357, allocations: 3.726 MB / 0.5612 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.3596, allocations: 1.798 MB / 0.563 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3598, allocations: 19 kB / 0.563 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.3607, allocations: 260.8 kB / 0.5632 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.3613, allocations: 293.5 kB / 0.5635 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.3618, allocations: 251.2 kB / 0.5638 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.3624, allocations: 0.6009 MB / 0.5644 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.3628, allocations: 260.1 kB / 0.5646 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3631, allocations: 235.5 kB / 0.5648 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.3635, allocations: 232.8 kB / 0.565 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.3635, allocations: 26.03 kB / 0.5651 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.364, allocations: 279.8 kB / 0.5653 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3641, allocations: 120.5 kB / 0.5655 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3643, allocations: 214.9 kB / 0.5657 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.365, allocations: 0.5897 MB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3651, allocations: 3.938 kB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3651, allocations: 0 / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3651, allocations: 1.25 kB / 0.5662 GB, free: 31.34 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00108/0.3662, allocations: 0.7273 MB / 0.5669 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3662, allocations: 12.25 kB / 0.567 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.3671, allocations: 132.2 kB / 0.5671 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.3677, allocations: 416.9 kB / 0.5675 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3677, allocations: 20.94 kB / 0.5675 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.3678, allocations: 31.89 kB / 0.5675 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.3685, allocations: 0.5497 MB / 0.5681 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3686, allocations: 5.344 kB / 0.5681 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.3686, allocations: 17.19 kB / 0.5681 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.3687, allocations: 43.17 kB / 0.5681 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.3694, allocations: 406 kB / 0.5685 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.3722, allocations: 3.332 MB / 0.5718 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/0.3731, allocations: 336.4 kB / 0.5721 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.3735, allocations: 177.9 kB / 0.5723 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3735, allocations: 2.406 kB / 0.5723 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.3736, allocations: 39.05 kB / 0.5723 GB, free: 26.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 2.305e-06/0.3736, allocations: 3.938 kB / 0.5723 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002082/0.3757, allocations: 1.06 MB / 0.5733 GB, free: 26.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3757, allocations: 55.56 kB / 0.5734 GB, free: 26.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.376, allocations: 344 kB / 0.5737 GB, free: 25.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.376, allocations: 31.92 kB / 0.5738 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3762, allocations: 240.8 kB / 0.574 GB, free: 25.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.3762, allocations: 99.91 kB / 0.5741 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3764, allocations: 79.08 kB / 0.5742 GB, free: 25.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.3764, allocations: 343.7 kB / 0.5745 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.3767, allocations: 153.9 kB / 0.5746 GB, free: 25.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.377, allocations: 288.5 kB / 0.5749 GB, free: 24.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.3776, allocations: 484.6 kB / 0.5754 GB, free: 24.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3776, allocations: 2.25 kB / 0.5754 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008838/0.3785, allocations: 0.5667 MB / 0.5759 GB, free: 24.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3785, allocations: 6.875 kB / 0.5759 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3786, allocations: 5.375 kB / 0.5759 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.3789, allocations: 82.02 kB / 0.576 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.3792, allocations: 95.28 kB / 0.5761 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.3792, allocations: 8.625 kB / 0.5761 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.3795, allocations: 36.47 kB / 0.5761 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3796, allocations: 14.97 kB / 0.5762 GB, free: 24.3 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.0001647/0.3797, allocations: 182.8 kB / 0.5763 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.3798, allocations: 39.91 kB / 0.5764 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/0.3806, allocations: 468.6 kB / 0.5768 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3807, allocations: 6.75 kB / 0.5768 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3807, allocations: 4.062 kB / 0.5768 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3807, allocations: 0.9844 kB / 0.5768 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3821, allocations: 0.9575 MB / 0.5778 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3821, allocations: 2 kB / 0.5778 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.3823, allocations: 51.39 kB / 0.5778 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.3826, allocations: 85.83 kB / 0.5779 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.3826, allocations: 6.531 kB / 0.5779 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3826, allocations: 2.188 kB / 0.5779 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3826, allocations: 5.547 kB / 0.5779 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.3834, allocations: 0.5429 MB / 0.5784 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3835, allocations: 139.3 kB / 0.5786 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.3836, allocations: 11.34 kB / 0.5786 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3838, allocations: 18.17 kB / 0.5786 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.3839, allocations: 30.48 kB / 0.5786 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3839, allocations: 10.81 kB / 0.5786 GB, free: 22.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3841, allocations: 234.8 kB / 0.5789 GB, free: 22.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3841, allocations: 0 / 0.5789 GB, free: 22.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.3846, allocations: 84.84 kB / 0.5789 GB, free: 22.7 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.0001045/0.3847, allocations: 105.4 kB / 0.5791 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.3855, allocations: 0.6329 MB / 0.5797 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3855, allocations: 2.656 kB / 0.5797 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.3859, allocations: 439.3 kB / 0.5801 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.3866, allocations: 124.3 kB / 0.5802 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.3876, allocations: 0.7186 MB / 0.5809 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3879, allocations: 0.8262 MB / 0.5817 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.3881, allocations: 84.28 kB / 0.5818 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.3882, allocations: 28.59 kB / 0.5818 GB, free: 20.62 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3882, allocations: 4 kB / 0.5818 GB, free: 20.62 MB / 446.1 MB Notification: Performance of Templates: time 0.009213/0.3974, allocations: 4.663 MB / 0.5864 GB, free: 19.38 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)