Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.19/2.19, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 197.5 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 117.5 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001105, allocations: 53.31 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3362, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005946/0.3423, allocations: 3.783 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003094/0.3454, allocations: 1.797 MB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3457, allocations: 19.88 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.3466, allocations: 235.1 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006836/0.3472, allocations: 286.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.3478, allocations: 215.1 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.3484, allocations: 0.7491 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.3488, allocations: 261.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.3491, allocations: 211.1 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.3493, allocations: 235 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.3494, allocations: 19.94 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.3499, allocations: 343.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.35, allocations: 111.6 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3502, allocations: 198.9 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.3507, allocations: 0.5938 MB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3507, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.21e-07/0.3507, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3507, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB 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.001143/0.3519, allocations: 0.7401 MB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3519, allocations: 15.97 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/0.3527, allocations: 132.2 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.3532, allocations: 375.6 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3532, allocations: 21.03 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.3533, allocations: 32.36 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.3539, allocations: 0.5511 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.354, allocations: 7.844 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.354, allocations: 15.98 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.3541, allocations: 44.53 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.3546, allocations: 409.7 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.3568, allocations: 3.334 MB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.3573, allocations: 338.5 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.3576, allocations: 176.8 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3576, allocations: 4 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.3576, allocations: 34.5 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.3576, allocations: 0 / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001695/0.3593, allocations: 1.067 MB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.3594, allocations: 55.64 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3596, allocations: 341.5 kB / 1.234 GB, free: 99.99 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3597, allocations: 33.7 kB / 1.234 GB, free: 99.95 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3598, allocations: 239.6 kB / 1.235 GB, free: 99.71 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.3598, allocations: 102.6 kB / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.3599, allocations: 78.03 kB / 1.235 GB, free: 99.53 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.36, allocations: 342.8 kB / 1.235 GB, free: 99.19 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.3602, allocations: 152.8 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.3605, allocations: 296.2 kB / 1.236 GB, free: 98.69 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.361, allocations: 478.5 kB / 1.236 GB, free: 98.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.361, allocations: 4 kB / 1.236 GB, free: 98.15 MB / 0.823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007736/0.3618, allocations: 0.562 MB / 1.237 GB, free: 97.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3618, allocations: 4 kB / 1.237 GB, free: 97.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3618, allocations: 8 kB / 1.237 GB, free: 97.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.3621, allocations: 90.5 kB / 1.237 GB, free: 97.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.3624, allocations: 83.83 kB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3625, allocations: 12.23 kB / 1.237 GB, free: 97.37 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.3627, allocations: 39.91 kB / 1.237 GB, free: 97.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3627, allocations: 19.94 kB / 1.237 GB, free: 97.31 MB / 0.823 GB 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.0001444/0.3629, allocations: 171.2 kB / 1.237 GB, free: 97.14 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.363, allocations: 43.52 kB / 1.237 GB, free: 97.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.3637, allocations: 472 kB / 1.237 GB, free: 96.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3638, allocations: 0 / 1.237 GB, free: 96.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3638, allocations: 4 kB / 1.237 GB, free: 96.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3638, allocations: 0 / 1.237 GB, free: 96.61 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3649, allocations: 0.9681 MB / 1.238 GB, free: 95.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.365, allocations: 4 kB / 1.238 GB, free: 95.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.3652, allocations: 51.95 kB / 1.238 GB, free: 95.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.3654, allocations: 74.52 kB / 1.239 GB, free: 95.43 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3654, allocations: 11.94 kB / 1.239 GB, free: 95.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3654, allocations: 4.094 kB / 1.239 GB, free: 95.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3654, allocations: 4 kB / 1.239 GB, free: 95.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3665, allocations: 1.343 MB / 1.24 GB, free: 93.99 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3667, allocations: 140.5 kB / 1.24 GB, free: 93.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3667, allocations: 8 kB / 1.24 GB, free: 93.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.3669, allocations: 23.97 kB / 1.24 GB, free: 93.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.367, allocations: 23.95 kB / 1.24 GB, free: 93.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.367, allocations: 12 kB / 1.24 GB, free: 93.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001655/0.3672, allocations: 235.2 kB / 1.24 GB, free: 93.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 0 / 1.24 GB, free: 93.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005344/0.3677, allocations: 87.98 kB / 1.24 GB, free: 93.46 MB / 0.823 GB 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.0001256/0.3679, allocations: 107.2 kB / 1.24 GB, free: 93.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007147/0.3686, allocations: 0.6341 MB / 1.241 GB, free: 92.64 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3686, allocations: 0 / 1.241 GB, free: 92.64 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.3689, allocations: 428.5 kB / 1.242 GB, free: 92.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.3696, allocations: 125.5 kB / 1.242 GB, free: 92.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3707, allocations: 1.081 MB / 1.243 GB, free: 90.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.3709, allocations: 0.8314 MB / 1.243 GB, free: 90.05 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.3711, allocations: 79.36 kB / 1.244 GB, free: 89.97 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.3712, allocations: 31.44 kB / 1.244 GB, free: 89.94 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/0.3712, allocations: 0 / 1.244 GB, free: 89.94 MB / 0.823 GB Notification: Performance of Templates: time 0.007703/0.3789, allocations: 4.628 MB / 1.248 GB, free: 85.38 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)