Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 89.5 kB / 16.67 MB, free: 6.594 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.001086/0.001086, allocations: 181 kB / 17.58 MB, free: 6.188 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.362/1.362, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7285/0.7285, allocations: 115.5 MB / 408.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004753, allocations: 12.22 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4077, allocations: 77.51 MB / 0.5606 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002503/0.4102, allocations: 1.989 MB / 0.5625 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.4115, allocations: 0.7706 MB / 0.5633 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.4116, allocations: 1.562 kB / 0.5633 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.4118, allocations: 15.73 kB / 0.5633 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.412, allocations: 61.66 kB / 0.5633 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.4122, allocations: 46.08 kB / 0.5634 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.4124, allocations: 196.4 kB / 0.5636 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.4127, allocations: 203.9 kB / 0.5638 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4128, allocations: 58.88 kB / 0.5638 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.413, allocations: 60.41 kB / 0.5639 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.413, allocations: 5.656 kB / 0.5639 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.4131, allocations: 66.09 kB / 0.564 GB, free: 34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.4132, allocations: 26.08 kB / 0.564 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.4133, allocations: 90.05 kB / 0.5641 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.4135, allocations: 125.2 kB / 0.5642 GB, free: 33.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4135, allocations: 0 / 0.5642 GB, free: 33.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4135, allocations: 0 / 0.5642 GB, free: 33.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.4135, allocations: 1.312 kB / 0.5642 GB, free: 33.89 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005944/0.4141, allocations: 472.7 kB / 0.5646 GB, free: 33.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4141, allocations: 16.06 kB / 0.5647 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.4144, allocations: 26.77 kB / 0.5647 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.4146, allocations: 215.2 kB / 0.5649 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.4146, allocations: 37.23 kB / 0.5649 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4147, allocations: 13.12 kB / 0.5649 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.415, allocations: 148.5 kB / 0.5651 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.415, allocations: 1.719 kB / 0.5651 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.415, allocations: 5.281 kB / 0.5651 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.415, allocations: 7.516 kB / 0.5651 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.4153, allocations: 92.7 kB / 0.5652 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.416, allocations: 0.6431 MB / 0.5658 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4163, allocations: 61.61 kB / 0.5659 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.4164, allocations: 30.45 kB / 0.5659 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.4164, allocations: 4.938 kB / 0.5659 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.4166, allocations: 140.9 kB / 0.566 GB, free: 32.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4166, allocations: 1.969 kB / 0.566 GB, free: 32.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003729/0.417, allocations: 171.2 kB / 0.5662 GB, free: 32.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.417, allocations: 137.9 kB / 0.5663 GB, free: 32.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4172, allocations: 179.6 kB / 0.5665 GB, free: 31.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4172, allocations: 31.23 kB / 0.5665 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.4173, allocations: 139.9 kB / 0.5667 GB, free: 31.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.4173, allocations: 28.61 kB / 0.5667 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.4173, allocations: 20.94 kB / 0.5667 GB, free: 31.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.4174, allocations: 326.9 kB / 0.567 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.541e-05/0.4175, allocations: 40.38 kB / 0.5671 GB, free: 31.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.4176, allocations: 112.4 kB / 0.5672 GB, free: 31.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.4178, allocations: 229 kB / 0.5674 GB, free: 31.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4179, allocations: 5.562 kB / 0.5674 GB, free: 31.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003541/0.4182, allocations: 250 kB / 0.5676 GB, free: 30.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.4183, allocations: 60.42 kB / 0.5677 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4183, allocations: 7.719 kB / 0.5677 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4183, allocations: 3.469 kB / 0.5677 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4184, allocations: 33.3 kB / 0.5677 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4184, allocations: 11.72 kB / 0.5677 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.4186, allocations: 27.47 kB / 0.5678 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4186, allocations: 11.41 kB / 0.5678 GB, free: 30.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.4187, allocations: 161.8 kB / 0.5679 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4188, allocations: 16.59 kB / 0.5679 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.4188, allocations: 23.31 kB / 0.568 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4188, allocations: 2.344 kB / 0.568 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4188, allocations: 0.7031 kB / 0.568 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4188, allocations: 0.5 kB / 0.568 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.419, allocations: 217.8 kB / 0.5682 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.419, allocations: 0.6875 kB / 0.5682 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.4191, allocations: 16.41 kB / 0.5682 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4191, allocations: 1.188 kB / 0.5682 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4191, allocations: 5.562 kB / 0.5682 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4191, allocations: 2.453 kB / 0.5682 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4191, allocations: 4.5 kB / 0.5682 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.4195, allocations: 216.9 kB / 0.5684 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.4195, allocations: 93.58 kB / 0.5685 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4196, allocations: 6.906 kB / 0.5685 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.4197, allocations: 13.61 kB / 0.5685 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.4197, allocations: 10.44 kB / 0.5685 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4198, allocations: 3.984 kB / 0.5685 GB, free: 30.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.276e-05/0.4199, allocations: 136 kB / 0.5687 GB, free: 30.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4199, allocations: 0 / 0.5687 GB, free: 30.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.4201, allocations: 27.16 kB / 0.5687 GB, free: 30.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.812e-05/0.4202, allocations: 108.7 kB / 0.5688 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4205, allocations: 215 kB / 0.569 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4205, allocations: 5.688 kB / 0.569 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.4207, allocations: 106.5 kB / 0.5691 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4209, allocations: 19.53 kB / 0.5691 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.4215, allocations: 377.8 kB / 0.5695 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.4216, allocations: 0.7168 MB / 0.5702 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.4217, allocations: 14.06 kB / 0.5702 GB, free: 28.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4217, allocations: 0 / 0.5702 GB, free: 28.76 MB / 446.1 MB Notification: Performance of Templates: time 0.00376/0.4255, allocations: 1.677 MB / 0.5718 GB, free: 28.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)