Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008792/0.0008791, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001025/0.001025, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 14.25 kB / 0.6735 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003061/0.2703, allocations: 1.925 MB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2718, allocations: 0.7689 MB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.272, allocations: 7.938 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2721, allocations: 11.92 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.2724, allocations: 51.8 kB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.2726, allocations: 31.95 kB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2728, allocations: 95.75 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.2731, allocations: 189.8 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2733, allocations: 51.78 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2734, allocations: 51.77 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.2735, allocations: 8 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2736, allocations: 19.98 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.2736, allocations: 31.89 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.2737, allocations: 49.64 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2739, allocations: 123.9 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2739, allocations: 0 / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2739, allocations: 4 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2739, allocations: 3.938 kB / 0.7904 GB, free: 8.523 MB / 0.6075 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.0007648/0.2747, allocations: 470.5 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2747, allocations: 8.031 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.275, allocations: 31.75 kB / 0.7909 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.2753, allocations: 206.8 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.2754, allocations: 37.89 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2754, allocations: 12 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2757, allocations: 148.9 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2757, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2757, allocations: 11.95 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.2758, allocations: 4.188 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.276, allocations: 92.44 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.2769, allocations: 0.6373 MB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.2771, allocations: 58.56 kB / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2772, allocations: 0 / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.2774, allocations: 154.8 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2774, allocations: 0 / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004176/0.2778, allocations: 248.3 kB / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.2779, allocations: 136.5 kB / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.2781, allocations: 182.7 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2781, allocations: 29.7 kB / 0.7928 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.2782, allocations: 139.8 kB / 0.7929 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2782, allocations: 27.64 kB / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.2783, allocations: 0 / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2784, allocations: 326.8 kB / 0.7933 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.2785, allocations: 43.98 kB / 0.7933 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2786, allocations: 113.3 kB / 0.7934 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2788, allocations: 103.4 kB / 0.7935 GB, free: 5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2788, allocations: 0 / 0.7935 GB, free: 5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003653/0.2791, allocations: 240.7 kB / 0.7938 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/0.2792, allocations: 63.41 kB / 0.7938 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2792, allocations: 7.953 kB / 0.7938 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2792, allocations: 4 kB / 0.7938 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2794, allocations: 36.23 kB / 0.7939 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.2794, allocations: 7.984 kB / 0.7939 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.2795, allocations: 23.75 kB / 0.7939 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2796, allocations: 12 kB / 0.7939 GB, free: 4.582 MB / 0.6075 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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.2797, allocations: 167.4 kB / 0.7941 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.2797, allocations: 7.906 kB / 0.7941 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.2798, allocations: 17.44 kB / 0.7941 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2798, allocations: 15.94 kB / 0.7941 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2798, allocations: 0 / 0.7941 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2798, allocations: 0 / 0.7941 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.28, allocations: 209.6 kB / 0.7943 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.28, allocations: 0 / 0.7943 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.2801, allocations: 15.98 kB / 0.7943 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2801, allocations: 0 / 0.7943 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2801, allocations: 7.938 kB / 0.7943 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2801, allocations: 3.938 kB / 0.7943 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2801, allocations: 3.953 kB / 0.7943 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.2805, allocations: 230.9 kB / 0.7946 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.2806, allocations: 85.05 kB / 0.7946 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2806, allocations: 0 / 0.7946 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.2807, allocations: 23.98 kB / 0.7947 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.2808, allocations: 15.94 kB / 0.7947 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.2808, allocations: 0 / 0.7947 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001122/0.2809, allocations: 133.1 kB / 0.7948 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2809, allocations: 0 / 0.7948 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002442/0.2812, allocations: 35.91 kB / 0.7948 GB, free: 3.52 MB / 0.6075 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.2813, allocations: 103.2 kB / 0.7949 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.2816, allocations: 222.6 kB / 0.7951 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2816, allocations: 0 / 0.7951 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2817, allocations: 111.3 kB / 0.7953 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.2819, allocations: 18.73 kB / 0.7953 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.2825, allocations: 334.5 kB / 0.7956 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.2829, allocations: 0.7236 MB / 0.7963 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.538e-05/0.283, allocations: 24.41 kB / 0.7963 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.2831, allocations: 15.44 kB / 0.7963 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2831, allocations: 0 / 0.7963 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.004191/0.2873, allocations: 1.195 MB / 0.7975 GB, free: 0.7148 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) Environment - environmentSimulation: