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.001371/0.001371, allocations: 97.06 kB / 16.93 MB, free: 5.781 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.001503/0.001503, allocations: 191.3 kB / 17.87 MB, free: 5.16 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.349/1.349, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7537/0.7537, allocations: 122.8 MB / 414.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 64.05 kB / 0.4917 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3725, allocations: 77.93 MB / 0.5678 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004797/0.3774, allocations: 3.732 MB / 0.5715 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.38, allocations: 1.796 MB / 0.5732 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.3803, allocations: 17.81 kB / 0.5733 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.3811, allocations: 265.2 kB / 0.5735 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.3817, allocations: 296.3 kB / 0.5738 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.3822, allocations: 250.7 kB / 0.574 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.3828, allocations: 0.6046 MB / 0.5746 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.3833, allocations: 253.3 kB / 0.5749 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.3836, allocations: 230.3 kB / 0.5751 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.3839, allocations: 230.5 kB / 0.5753 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.384, allocations: 26.12 kB / 0.5753 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.3845, allocations: 279.4 kB / 0.5756 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3846, allocations: 129.5 kB / 0.5757 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.3848, allocations: 211.2 kB / 0.5759 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.3855, allocations: 0.583 MB / 0.5765 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3855, allocations: 0.5 kB / 0.5765 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3856, allocations: 0 / 0.5765 GB, free: 27.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3856, allocations: 1.812 kB / 0.5765 GB, free: 27.45 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.001082/0.3867, allocations: 0.7318 MB / 0.5772 GB, free: 26.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3867, allocations: 10.25 kB / 0.5772 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/0.3876, allocations: 134.5 kB / 0.5773 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.388, allocations: 375 kB / 0.5777 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3881, allocations: 31.02 kB / 0.5777 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.3881, allocations: 27.34 kB / 0.5778 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.3889, allocations: 0.5562 MB / 0.5783 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.3889, allocations: 7 kB / 0.5783 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.3889, allocations: 15.27 kB / 0.5783 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.389, allocations: 41.03 kB / 0.5784 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.3897, allocations: 408.4 kB / 0.5788 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.3918, allocations: 3.336 MB / 0.582 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.3925, allocations: 339.4 kB / 0.5823 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.3928, allocations: 179 kB / 0.5825 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3928, allocations: 7.781 kB / 0.5825 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3928, allocations: 33.94 kB / 0.5825 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.3928, allocations: 0 / 0.5825 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001807/0.3947, allocations: 1.062 MB / 0.5836 GB, free: 22.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3947, allocations: 55.05 kB / 0.5836 GB, free: 22.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.395, allocations: 339.4 kB / 0.584 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.395, allocations: 31.55 kB / 0.584 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3951, allocations: 254.1 kB / 0.5842 GB, free: 21.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.3952, allocations: 96.06 kB / 0.5843 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3953, allocations: 76.67 kB / 0.5844 GB, free: 21.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.3954, allocations: 348.6 kB / 0.5847 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3956, allocations: 150.2 kB / 0.5849 GB, free: 21.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.3959, allocations: 292.6 kB / 0.5851 GB, free: 20.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.3965, allocations: 482.6 kB / 0.5856 GB, free: 20.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3965, allocations: 1.406 kB / 0.5856 GB, free: 20.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008499/0.3974, allocations: 0.554 MB / 0.5862 GB, free: 20.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3974, allocations: 8.75 kB / 0.5862 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3974, allocations: 7.906 kB / 0.5862 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.3977, allocations: 92.66 kB / 0.5863 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.398, allocations: 80.45 kB / 0.5863 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3981, allocations: 15.48 kB / 0.5863 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3983, allocations: 33.88 kB / 0.5864 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.3983, allocations: 21.34 kB / 0.5864 GB, free: 20 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.0001491/0.3985, allocations: 172 kB / 0.5866 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.3986, allocations: 39.12 kB / 0.5866 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.3994, allocations: 468.7 kB / 0.587 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3994, allocations: 6.203 kB / 0.5871 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3994, allocations: 4.344 kB / 0.5871 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3994, allocations: 0 / 0.5871 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.4006, allocations: 0.9636 MB / 0.588 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4006, allocations: 5.344 kB / 0.588 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4009, allocations: 52.25 kB / 0.5881 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.4011, allocations: 79.59 kB / 0.5881 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.4011, allocations: 11.06 kB / 0.5881 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4011, allocations: 1.188 kB / 0.5881 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4011, allocations: 6.141 kB / 0.5881 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.4018, allocations: 0.5444 MB / 0.5887 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.402, allocations: 138 kB / 0.5888 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.402, allocations: 10.41 kB / 0.5888 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4022, allocations: 22.03 kB / 0.5888 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.4023, allocations: 30.31 kB / 0.5889 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4023, allocations: 6.281 kB / 0.5889 GB, free: 18.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.4025, allocations: 237.9 kB / 0.5891 GB, free: 18.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4025, allocations: 0 / 0.5891 GB, free: 18.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.403, allocations: 84.31 kB / 0.5892 GB, free: 18.02 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.0001016/0.4031, allocations: 109.5 kB / 0.5893 GB, free: 17.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007893/0.4039, allocations: 0.6555 MB / 0.5899 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4039, allocations: 4.188 kB / 0.5899 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.4042, allocations: 443.8 kB / 0.5904 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.4049, allocations: 121.1 kB / 0.5905 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4059, allocations: 0.7712 MB / 0.5912 GB, free: 16.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.4062, allocations: 0.8217 MB / 0.592 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.4063, allocations: 35.62 kB / 0.5921 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4063, allocations: 0 / 0.5921 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.009517/0.4158, allocations: 9.436 MB / 0.6013 GB, free: 7.59 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)