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.001127/0.001127, allocations: 98.03 kB / 16.26 MB, free: 5.934 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.001241/0.001241, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7318/0.7318, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 59.91 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3847, allocations: 77.92 MB / 0.5672 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004056/0.3888, allocations: 2.289 MB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3901, allocations: 0.787 MB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.3902, allocations: 2.938 kB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.3908, allocations: 149.8 kB / 0.5703 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.391, allocations: 65.95 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3912, allocations: 53.38 kB / 0.5705 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3914, allocations: 159.2 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.3917, allocations: 99.88 kB / 0.5707 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3918, allocations: 66.22 kB / 0.5708 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3919, allocations: 72.16 kB / 0.5708 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.392, allocations: 11.41 kB / 0.5708 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3921, allocations: 53.33 kB / 0.5709 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.3922, allocations: 38.52 kB / 0.5709 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.3923, allocations: 66.7 kB / 0.571 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3925, allocations: 164.8 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3926, allocations: 1.406 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3926, allocations: 0 / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3926, allocations: 0 / 0.5712 GB, free: 30.02 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.0006802/0.3933, allocations: 0.4901 MB / 0.5716 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3933, allocations: 10.81 kB / 0.5716 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.3935, allocations: 26.02 kB / 0.5717 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3937, allocations: 204.9 kB / 0.5719 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.3938, allocations: 38.33 kB / 0.5719 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.3938, allocations: 16.42 kB / 0.5719 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.3941, allocations: 151.5 kB / 0.5721 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3942, allocations: 5.391 kB / 0.5721 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3942, allocations: 2.125 kB / 0.5721 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.3942, allocations: 4.656 kB / 0.5721 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.3944, allocations: 88.75 kB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.3952, allocations: 0.6419 MB / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3954, allocations: 60.86 kB / 0.5728 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.3955, allocations: 32.33 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.3955, allocations: 0 / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.3957, allocations: 150 kB / 0.573 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3957, allocations: 3.938 kB / 0.573 GB, free: 28.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003442/0.396, allocations: 162.6 kB / 0.5732 GB, free: 28.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3961, allocations: 133.3 kB / 0.5733 GB, free: 28.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3962, allocations: 192.7 kB / 0.5735 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3963, allocations: 26.83 kB / 0.5735 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3963, allocations: 135.7 kB / 0.5736 GB, free: 27.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3964, allocations: 17.64 kB / 0.5737 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.3964, allocations: 43.88 kB / 0.5737 GB, free: 27.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.3965, allocations: 328 kB / 0.574 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.3966, allocations: 33.52 kB / 0.574 GB, free: 27.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3967, allocations: 114.2 kB / 0.5742 GB, free: 27.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.3969, allocations: 235.3 kB / 0.5744 GB, free: 27.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.397, allocations: 1.188 kB / 0.5744 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000329/0.3973, allocations: 245.1 kB / 0.5746 GB, free: 27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.3973, allocations: 65.3 kB / 0.5747 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3974, allocations: 6.812 kB / 0.5747 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3974, allocations: 4.5 kB / 0.5747 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3975, allocations: 31.23 kB / 0.5747 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3975, allocations: 4.375 kB / 0.5747 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3977, allocations: 28.31 kB / 0.5747 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3977, allocations: 8.125 kB / 0.5748 GB, free: 26.92 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.0001022/0.3978, allocations: 166.2 kB / 0.5749 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3978, allocations: 11.34 kB / 0.5749 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3979, allocations: 18.98 kB / 0.5749 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3979, allocations: 3 kB / 0.5749 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3979, allocations: 1.062 kB / 0.5749 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3979, allocations: 0 / 0.5749 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.398, allocations: 217.9 kB / 0.5752 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.398, allocations: 1.156 kB / 0.5752 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.3981, allocations: 11.31 kB / 0.5752 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3981, allocations: 0 / 0.5752 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3982, allocations: 8.531 kB / 0.5752 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3982, allocations: 0.9375 kB / 0.5752 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3982, allocations: 0.8438 kB / 0.5752 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3985, allocations: 217 kB / 0.5754 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.3986, allocations: 89.19 kB / 0.5755 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3986, allocations: 13.36 kB / 0.5755 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.3987, allocations: 9.031 kB / 0.5755 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.3988, allocations: 11.09 kB / 0.5755 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3988, allocations: 7.406 kB / 0.5755 GB, free: 26.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.112e-05/0.3989, allocations: 132.5 kB / 0.5756 GB, free: 26.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3989, allocations: 0 / 0.5756 GB, free: 26.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3991, allocations: 27.41 kB / 0.5757 GB, free: 26.17 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 9.382e-05/0.3992, allocations: 110.1 kB / 0.5758 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3995, allocations: 218.4 kB / 0.576 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3995, allocations: 0 / 0.576 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3996, allocations: 108.8 kB / 0.5761 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3999, allocations: 17.28 kB / 0.5761 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.4004, allocations: 286.7 kB / 0.5764 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.4006, allocations: 0.7201 MB / 0.5771 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.813e-05/0.4007, allocations: 28.31 kB / 0.5771 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4007, allocations: 13.25 kB / 0.5771 GB, free: 24.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4007, allocations: 0 / 0.5771 GB, free: 24.92 MB / 446.1 MB Notification: Performance of Templates: time 0.004407/0.4051, allocations: 1.386 MB / 0.5785 GB, free: 24.83 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)