Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 185.9 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000893/0.0008928, allocations: 91.05 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.898e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.313, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9297/1.243, allocations: 169.2 MB / 1.145 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.243, allocations: 99.72 kB / 1.145 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04884/1.292, allocations: 19.21 MB / 1.164 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.046e-06/1.292, allocations: 0 / 1.164 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.901e-05/1.292, allocations: 15.94 kB / 1.164 GB, free: 12.79 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001215/1.293, allocations: 0.5397 MB / 1.164 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.293, allocations: 12.03 kB / 1.164 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.294, allocations: 107.8 kB / 1.165 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/1.295, allocations: 286.5 kB / 1.165 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.295, allocations: 24.84 kB / 1.165 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/1.295, allocations: 25.89 kB / 1.165 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/1.296, allocations: 425.2 kB / 1.165 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/1.296, allocations: 7.844 kB / 1.165 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/1.296, allocations: 20.78 kB / 1.165 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/1.296, allocations: 24.25 kB / 1.165 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/1.296, allocations: 340.3 kB / 1.166 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/1.299, allocations: 2.211 MB / 1.168 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/1.299, allocations: 259.2 kB / 1.168 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/1.299, allocations: 157.9 kB / 1.168 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/1.299, allocations: 192 / 1.168 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.299, allocations: 37.94 kB / 1.168 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/1.299, allocations: 3.984 kB / 1.168 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001315/1.301, allocations: 0.8102 MB / 1.169 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/1.301, allocations: 57.28 kB / 1.169 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.301, allocations: 222.8 kB / 1.169 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/1.301, allocations: 28.89 kB / 1.169 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/1.301, allocations: 184.9 kB / 1.17 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/1.301, allocations: 84.75 kB / 1.17 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/1.301, allocations: 13.88 kB / 1.17 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/1.301, allocations: 334.3 kB / 1.17 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.302, allocations: 150.1 kB / 1.17 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/1.302, allocations: 222.1 kB / 1.17 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/1.302, allocations: 190.6 kB / 1.17 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.302, allocations: 0 / 1.17 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001171/1.303, allocations: 0.5673 MB / 1.171 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/1.303, allocations: 4 kB / 1.171 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.303, allocations: 7.938 kB / 1.171 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/1.304, allocations: 186.7 kB / 1.171 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/1.304, allocations: 59.28 kB / 1.171 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/1.307, allocations: 2.274 MB / 1.173 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/1.307, allocations: 15.48 kB / 1.173 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/1.307, allocations: 15.44 kB / 1.174 GB, free: 4.324 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.308, allocations: 119.4 kB / 1.174 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/1.308, allocations: 23.75 kB / 1.174 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/1.308, allocations: 365.2 kB / 1.174 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.308, allocations: 4 kB / 1.174 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.308, allocations: 3.953 kB / 1.174 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.308, allocations: 0 / 1.174 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/1.309, allocations: 0.8019 MB / 1.175 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.309, allocations: 0 / 1.175 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/1.31, allocations: 71.88 kB / 1.175 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.31, allocations: 12.02 kB / 1.175 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/1.31, allocations: 3.438 kB / 1.175 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.31, allocations: 4 kB / 1.175 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.31, allocations: 1.875 kB / 1.175 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/1.31, allocations: 0.6283 MB / 1.175 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.311, allocations: 126.8 kB / 1.176 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/1.311, allocations: 13.8 kB / 1.176 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.311, allocations: 7.938 kB / 1.176 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/1.311, allocations: 19.91 kB / 1.176 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/1.311, allocations: 7.938 kB / 1.176 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000158/1.311, allocations: 171.6 kB / 1.176 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.4e-07/1.311, allocations: 0 / 1.176 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005252/1.312, allocations: 96.06 kB / 1.176 GB, free: 2.238 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0002488/1.312, allocations: 134.8 kB / 1.176 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009722/1.313, allocations: 0.5162 MB / 1.177 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.313, allocations: 0.625 kB / 1.177 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/1.313, allocations: 149.3 kB / 1.177 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.314, allocations: 52.16 kB / 1.177 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/1.315, allocations: 0.7018 MB / 1.177 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/1.315, allocations: 0.8053 MB / 1.178 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002235/1.315, allocations: 70.92 kB / 1.178 GB, free: 0 / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/1.315, allocations: 23.48 kB / 1.178 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of SimCode: time 3.31e-07/1.315, allocations: 0 / 1.178 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.007928/1.323, allocations: 3.666 MB / 1.182 GB, free: 12.37 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)