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.001351/0.001351, allocations: 106.2 kB / 16.27 MB, free: 5.984 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.001321/0.001321, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8398/0.8398, allocations: 126.7 MB / 417.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 0.4957 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4082, allocations: 78.85 MB / 0.5727 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004013/0.4123, allocations: 2.296 MB / 0.575 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.4137, allocations: 0.7855 MB / 0.5758 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.4139, allocations: 3.25 kB / 0.5758 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.4145, allocations: 149.9 kB / 0.5759 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.4148, allocations: 66.55 kB / 0.576 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.415, allocations: 47.84 kB / 0.576 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.4152, allocations: 165 kB / 0.5762 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.4156, allocations: 100.3 kB / 0.5763 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.4157, allocations: 66.83 kB / 0.5763 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.416, allocations: 68.19 kB / 0.5764 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.416, allocations: 16.75 kB / 0.5764 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.4162, allocations: 54.22 kB / 0.5765 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.4163, allocations: 34.23 kB / 0.5765 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.4164, allocations: 66.39 kB / 0.5766 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.4169, allocations: 164.8 kB / 0.5767 GB, free: 28.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4169, allocations: 5.031 kB / 0.5767 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4169, allocations: 1.469 kB / 0.5767 GB, free: 28.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4169, allocations: 0 / 0.5767 GB, free: 28.41 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.001033/0.418, allocations: 0.4905 MB / 0.5772 GB, free: 27.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.418, allocations: 9.281 kB / 0.5772 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.4185, allocations: 27.39 kB / 0.5772 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.4188, allocations: 206.9 kB / 0.5774 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.4189, allocations: 36.61 kB / 0.5775 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.419, allocations: 20.05 kB / 0.5775 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.4194, allocations: 152.9 kB / 0.5776 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4194, allocations: 0 / 0.5776 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.4195, allocations: 4.266 kB / 0.5776 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.4195, allocations: 4.031 kB / 0.5776 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.4198, allocations: 91.16 kB / 0.5777 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.4207, allocations: 0.6389 MB / 0.5783 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.421, allocations: 59.14 kB / 0.5784 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.4211, allocations: 29.22 kB / 0.5784 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4211, allocations: 1.375 kB / 0.5784 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.4213, allocations: 151.5 kB / 0.5786 GB, free: 26.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.4213, allocations: 2.562 kB / 0.5786 GB, free: 26.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003893/0.4217, allocations: 156.3 kB / 0.5787 GB, free: 26.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.4218, allocations: 132.5 kB / 0.5789 GB, free: 26.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.422, allocations: 192.4 kB / 0.579 GB, free: 26.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.422, allocations: 26.33 kB / 0.5791 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.4221, allocations: 138.6 kB / 0.5792 GB, free: 26.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4221, allocations: 19.47 kB / 0.5792 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.4222, allocations: 39.42 kB / 0.5793 GB, free: 26.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.4223, allocations: 327.1 kB / 0.5796 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.4224, allocations: 37.62 kB / 0.5796 GB, free: 25.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4225, allocations: 117.2 kB / 0.5797 GB, free: 25.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.4227, allocations: 234.1 kB / 0.5799 GB, free: 25.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4227, allocations: 1.094 kB / 0.5799 GB, free: 25.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003372/0.4231, allocations: 245.5 kB / 0.5802 GB, free: 25.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.4231, allocations: 63.23 kB / 0.5802 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.4231, allocations: 6.469 kB / 0.5802 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.4232, allocations: 8.562 kB / 0.5802 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4233, allocations: 33.89 kB / 0.5803 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4233, allocations: 4.344 kB / 0.5803 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.4235, allocations: 27.95 kB / 0.5803 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4235, allocations: 9.281 kB / 0.5803 GB, free: 25.2 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.0001065/0.4236, allocations: 166.7 kB / 0.5805 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.4236, allocations: 13.12 kB / 0.5805 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.4237, allocations: 17.58 kB / 0.5805 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4237, allocations: 3.984 kB / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4237, allocations: 1.375 kB / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4237, allocations: 5.141 kB / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.4238, allocations: 213.6 kB / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4238, allocations: 1.438 kB / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.4239, allocations: 11.92 kB / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4239, allocations: 1.688 kB / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4239, allocations: 6.312 kB / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4239, allocations: 0 / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4239, allocations: 2.094 kB / 0.5807 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.4243, allocations: 214.4 kB / 0.5809 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.4243, allocations: 91.73 kB / 0.581 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4243, allocations: 11.39 kB / 0.581 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.4244, allocations: 6.688 kB / 0.581 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.4245, allocations: 11.55 kB / 0.5811 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.4245, allocations: 3.25 kB / 0.5811 GB, free: 24.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.012e-05/0.4246, allocations: 132.6 kB / 0.5812 GB, free: 24.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4246, allocations: 0.5938 kB / 0.5812 GB, free: 24.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.4248, allocations: 28.25 kB / 0.5812 GB, free: 24.39 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.857e-05/0.4249, allocations: 102.9 kB / 0.5813 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.4252, allocations: 220.8 kB / 0.5815 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4252, allocations: 0 / 0.5815 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4254, allocations: 110.1 kB / 0.5816 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.4256, allocations: 18.72 kB / 0.5816 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.4261, allocations: 285.3 kB / 0.5819 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4263, allocations: 0.7153 MB / 0.5826 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.445e-05/0.4264, allocations: 20.91 kB / 0.5826 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.4264, allocations: 18.75 kB / 0.5827 GB, free: 23.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4264, allocations: 0 / 0.5827 GB, free: 23.08 MB / 446.1 MB Notification: Performance of Templates: time 0.004193/0.4306, allocations: 1.4 MB / 0.584 GB, free: 22.42 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)