Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.4 MB / 303.4 MB, free: 8.188 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.001171/0.001171, allocations: 179.2 kB / 372 MB, free: 10.27 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.802/1.802, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007745/0.0007747, allocations: 95.58 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004457, allocations: 15.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003917/0.2372, allocations: 2.825 MB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.2401, allocations: 1.735 MB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.2406, allocations: 7.938 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.241, allocations: 47.64 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009086/0.2419, allocations: 167.2 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.243, allocations: 228.6 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.2438, allocations: 470.6 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009174/0.2447, allocations: 425.3 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.2451, allocations: 135.5 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.2456, allocations: 187.3 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.2457, allocations: 16 kB / 0.9857 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.2461, allocations: 127.8 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2463, allocations: 111.7 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2464, allocations: 73.58 kB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.2469, allocations: 359.3 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2469, allocations: 0 / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2469, allocations: 0 / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.2469, allocations: 0 / 0.9863 GB, free: 20.73 MB / 0.6198 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.001259/0.2482, allocations: 0.5399 MB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2483, allocations: 8.031 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008017/0.2491, allocations: 103.5 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.2495, allocations: 265.1 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2495, allocations: 16.56 kB / 0.9872 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2497, allocations: 43.84 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.2503, allocations: 437.1 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.2503, allocations: 11.92 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.2504, allocations: 15.98 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.2505, allocations: 36.53 kB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.251, allocations: 357.9 kB / 0.9881 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.2532, allocations: 2.195 MB / 0.9902 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.2536, allocations: 267 kB / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.2538, allocations: 161.1 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2538, allocations: 8.109 kB / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2539, allocations: 42.75 kB / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/0.2539, allocations: 0 / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001747/0.2556, allocations: 1.055 MB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2557, allocations: 55.41 kB / 0.9917 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2559, allocations: 248.9 kB / 0.992 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2559, allocations: 29.7 kB / 0.992 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.256, allocations: 191.9 kB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.2561, allocations: 78.84 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.2561, allocations: 12 kB / 0.9923 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.2562, allocations: 330.8 kB / 0.9926 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2564, allocations: 147.9 kB / 0.9927 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2566, allocations: 237.6 kB / 0.993 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.2569, allocations: 189.2 kB / 0.9931 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2569, allocations: 0 / 0.9931 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001031/0.2579, allocations: 0.5889 MB / 0.9937 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2579, allocations: 4 kB / 0.9937 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.258, allocations: 4 kB / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.2586, allocations: 192.8 kB / 0.9939 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.2589, allocations: 59.91 kB / 0.994 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.2612, allocations: 2.294 MB / 0.9962 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.2615, allocations: 19.98 kB / 0.9962 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.2616, allocations: 15.98 kB / 0.9962 GB, free: 9.922 MB / 0.6198 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 () * Number of clocked 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.0001762/0.2617, allocations: 167.3 kB / 0.9964 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.2618, allocations: 23.67 kB / 0.9964 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.2623, allocations: 354.6 kB / 0.9968 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2623, allocations: 4.062 kB / 0.9968 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2623, allocations: 4 kB / 0.9968 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2623, allocations: 0 / 0.9968 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008738/0.2632, allocations: 0.8121 MB / 0.9976 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2632, allocations: 0 / 0.9976 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.2636, allocations: 71.94 kB / 0.9976 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2636, allocations: 4 kB / 0.9976 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2636, allocations: 15.94 kB / 0.9976 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2636, allocations: 8 kB / 0.9977 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2636, allocations: 3.984 kB / 0.9977 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.2642, allocations: 0.6026 MB / 0.9982 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2644, allocations: 124.8 kB / 0.9984 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.2644, allocations: 11.98 kB / 0.9984 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2646, allocations: 11.98 kB / 0.9984 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2647, allocations: 19.98 kB / 0.9984 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2647, allocations: 7.938 kB / 0.9984 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001518/0.2648, allocations: 180.5 kB / 0.9986 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2649, allocations: 0 / 0.9986 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003936/0.2653, allocations: 84 kB / 0.9987 GB, free: 7.316 MB / 0.6198 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 () * Number of clocked 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.0001832/0.2654, allocations: 111.2 kB / 0.9988 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007772/0.2662, allocations: 0.5371 MB / 0.9993 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2662, allocations: 0 / 0.9993 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2664, allocations: 150.7 kB / 0.9994 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.2669, allocations: 57.09 kB / 0.9995 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.2683, allocations: 1.003 MB / 1 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2686, allocations: 0.7873 MB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.2688, allocations: 78.89 kB / 1.001 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.2689, allocations: 31.42 kB / 1.001 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2689, allocations: 4 kB / 1.001 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of Templates: time 0.006668/0.2755, allocations: 3.648 MB / 1.005 GB, free: 0.8633 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)