Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001746/0.001746, allocations: 119.8 kB / 16.42 MB, free: 6.496 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.00176/0.00176, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 283.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 91.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4293, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003644/0.4329, allocations: 2.304 MB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.4343, allocations: 0.783 MB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.4344, allocations: 4 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.435, allocations: 147.4 kB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.4352, allocations: 63.59 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.4354, allocations: 55.81 kB / 0.7703 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.4357, allocations: 155.5 kB / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.4359, allocations: 105 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.4361, allocations: 67.77 kB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4362, allocations: 75.61 kB / 0.7707 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.4363, allocations: 12 kB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.4364, allocations: 59.89 kB / 0.7707 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.4365, allocations: 35.91 kB / 0.7708 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.4366, allocations: 63.67 kB / 0.7708 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.4368, allocations: 169.9 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4368, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4368, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.4368, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB 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.0006814/0.4375, allocations: 494.5 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4376, allocations: 8.031 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.4378, allocations: 32.73 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4381, allocations: 204.2 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.4381, allocations: 38.45 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.4382, allocations: 8.125 kB / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.4385, allocations: 149.8 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4385, allocations: 0 / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4385, allocations: 8 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.4385, allocations: 7.984 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.4387, allocations: 88.64 kB / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.4396, allocations: 0.6402 MB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4398, allocations: 58.56 kB / 0.7727 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.4399, allocations: 28.91 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.4399, allocations: 0 / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.4401, allocations: 146.7 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.4402, allocations: 4 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003751/0.4405, allocations: 163.3 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.4406, allocations: 140.5 kB / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.4408, allocations: 183.1 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.4408, allocations: 29.7 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.4409, allocations: 147.6 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.4409, allocations: 15.81 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.441, allocations: 41.61 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4411, allocations: 326.8 kB / 0.7738 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.4412, allocations: 39.97 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4413, allocations: 109.4 kB / 0.774 GB, free: 12.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.4416, allocations: 230.4 kB / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4416, allocations: 4 kB / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003519/0.442, allocations: 237 kB / 0.7744 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.442, allocations: 67.39 kB / 0.7745 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.442, allocations: 4 kB / 0.7745 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4421, allocations: 7.938 kB / 0.7745 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4422, allocations: 27.92 kB / 0.7745 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4422, allocations: 4 kB / 0.7745 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4424, allocations: 27.73 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.4424, allocations: 12 kB / 0.7746 GB, free: 11.76 MB / 0.545 GB 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.0001412/0.4425, allocations: 181.1 kB / 0.7748 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.4426, allocations: 7.906 kB / 0.7748 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.4426, allocations: 17.34 kB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4426, allocations: 0 / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4426, allocations: 0 / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.4427, allocations: 92.95 kB / 0.7749 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.4427, allocations: 11.98 kB / 0.7749 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4428, allocations: 11.98 kB / 0.7749 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.4429, allocations: 8 kB / 0.7749 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003583/0.4432, allocations: 282 kB / 0.7752 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004118/0.4437, allocations: 356.3 kB / 0.7755 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001008/0.4438, allocations: 51.95 kB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.61e-05/0.4439, allocations: 139.2 kB / 0.7757 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Backend: time 3.91e-07/0.4439, allocations: 4.062 kB / 0.7757 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.4445, allocations: 308 kB / 0.776 GB, free: 10.21 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007016/0.4452, allocations: 0.7842 MB / 0.7767 GB, free: 9.367 MB / 0.545 GB Notification: Performance of Templates: time 0.004644/0.4499, allocations: 1.74 MB / 0.7784 GB, free: 7.645 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)