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.0007858/0.0007862, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004953/0.004953, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.79/1.79, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0009336/0.0009337, allocations: 20.42 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2835, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003391/0.287, allocations: 2.01 MB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.2888, allocations: 0.8191 MB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2891, allocations: 4 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.2893, allocations: 15.86 kB / 0.7906 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.2897, allocations: 55.73 kB / 0.7907 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.2899, allocations: 47.89 kB / 0.7907 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.2902, allocations: 195.4 kB / 0.7909 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.2905, allocations: 189.6 kB / 0.7911 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2907, allocations: 55.77 kB / 0.7912 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.2908, allocations: 67.69 kB / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.2909, allocations: 8 kB / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.291, allocations: 59.88 kB / 0.7913 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.2911, allocations: 39.83 kB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.2912, allocations: 85.38 kB / 0.7914 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2914, allocations: 155.7 kB / 0.7916 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2914, allocations: 7.984 kB / 0.7916 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2915, allocations: 0 / 0.7916 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2915, allocations: 0 / 0.7916 GB, free: 7.762 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.0007456/0.2922, allocations: 470.7 kB / 0.792 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2923, allocations: 8.031 kB / 0.792 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.2925, allocations: 28.73 kB / 0.7921 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.2927, allocations: 208.1 kB / 0.7922 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.2928, allocations: 38.45 kB / 0.7923 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.2928, allocations: 16.12 kB / 0.7923 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.2931, allocations: 152.1 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2931, allocations: 3.938 kB / 0.7925 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2932, allocations: 0 / 0.7925 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2932, allocations: 4 kB / 0.7925 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2934, allocations: 95.95 kB / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.2943, allocations: 0.6402 MB / 0.7932 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.2945, allocations: 70.47 kB / 0.7932 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.2946, allocations: 28.91 kB / 0.7933 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2947, allocations: 3.938 kB / 0.7933 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.2949, allocations: 154.7 kB / 0.7934 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2949, allocations: 0 / 0.7934 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003917/0.2953, allocations: 175.2 kB / 0.7936 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.2954, allocations: 136.5 kB / 0.7937 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2956, allocations: 186.3 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2956, allocations: 25.7 kB / 0.7939 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.2957, allocations: 139.8 kB / 0.794 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2957, allocations: 19.8 kB / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.2958, allocations: 21.7 kB / 0.7941 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2959, allocations: 322.8 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.296, allocations: 35.98 kB / 0.7944 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2962, allocations: 117.3 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.2964, allocations: 238.3 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2964, allocations: 0 / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003478/0.2968, allocations: 240.7 kB / 0.795 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.2968, allocations: 63.72 kB / 0.7951 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2969, allocations: 7.938 kB / 0.7951 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2969, allocations: 4 kB / 0.7951 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.297, allocations: 31.92 kB / 0.7951 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.297, allocations: 4 kB / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2972, allocations: 31.83 kB / 0.7951 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2972, allocations: 4 kB / 0.7951 GB, free: 3.684 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 (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.0001302/0.2973, allocations: 178.7 kB / 0.7953 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.2973, allocations: 15.81 kB / 0.7953 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.2974, allocations: 21.33 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2974, allocations: 0 / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2974, allocations: 0 / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2974, allocations: 0 / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2976, allocations: 213.6 kB / 0.7956 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2976, allocations: 7.938 kB / 0.7956 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.2977, allocations: 8 kB / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2977, allocations: 0 / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2977, allocations: 15.88 kB / 0.7956 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.2977, allocations: 3.984 kB / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2977, allocations: 0 / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.2981, allocations: 218.8 kB / 0.7958 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2981, allocations: 85.05 kB / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2982, allocations: 12 kB / 0.7959 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.2983, allocations: 15.98 kB / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.2983, allocations: 4 kB / 0.7959 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2984, allocations: 7.984 kB / 0.7959 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001088/0.2985, allocations: 137.1 kB / 0.796 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2985, allocations: 0 / 0.796 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002408/0.2987, allocations: 32 kB / 0.7961 GB, free: 2.621 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.2988, allocations: 103.2 kB / 0.7962 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.2992, allocations: 226.6 kB / 0.7964 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2992, allocations: 0 / 0.7964 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2993, allocations: 103.4 kB / 0.7965 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2996, allocations: 28.52 kB / 0.7965 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.3002, allocations: 345.9 kB / 0.7968 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3004, allocations: 0.7123 MB / 0.7975 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.3005, allocations: 28.41 kB / 0.7976 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.3006, allocations: 11.44 kB / 0.7976 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3006, allocations: 0 / 0.7976 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of Templates: time 0.00379/0.3044, allocations: 1.231 MB / 0.7988 GB, free: 15.77 MB / 0.6231 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: