Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.549/1.549, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 177.1 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007762/0.0007762, allocations: 81.36 kB / 0.6803 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 11.84 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008802/0.1839, allocations: 10.45 MB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1941, allocations: 8.875 MB / 0.9156 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.1956, allocations: 55.62 kB / 0.9157 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.1992, allocations: 1.551 MB / 0.9172 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.203, allocations: 1.401 MB / 0.9186 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.2046, allocations: 0.6133 MB / 0.9192 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.2072, allocations: 2.895 MB / 0.922 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.2089, allocations: 1.313 MB / 0.9233 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.2103, allocations: 0.8323 MB / 0.9241 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.2117, allocations: 0.9491 MB / 0.925 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.2121, allocations: 60 kB / 0.9251 GB, free: 39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.2138, allocations: 0.8811 MB / 0.9259 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005266/0.2143, allocations: 486.3 kB / 0.9264 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009186/0.2152, allocations: 0.7807 MB / 0.9271 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.2173, allocations: 1.983 MB / 0.9291 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2173, allocations: 0 / 0.9291 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2173, allocations: 0 / 0.9291 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000103/0.2174, allocations: 0 / 0.9291 GB, free: 34.87 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003215/0.2207, allocations: 1.706 MB / 0.9308 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2207, allocations: 8.031 kB / 0.9308 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009961/0.2307, allocations: 2.12 MB / 0.9328 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.2328, allocations: 1.119 MB / 0.9339 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.2329, allocations: 86.7 kB / 0.934 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.2332, allocations: 120 kB / 0.9341 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.2379, allocations: 2.498 MB / 0.9366 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.2379, allocations: 11.84 kB / 0.9366 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.2381, allocations: 55.98 kB / 0.9366 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.2384, allocations: 130.1 kB / 0.9367 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/0.2447, allocations: 2.592 MB / 0.9393 GB, free: 24.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.256, allocations: 10.12 MB / 0.9492 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005424/0.2615, allocations: 1.995 MB / 0.9511 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.2638, allocations: 0.9933 MB / 0.9521 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.2639, allocations: 4.438 kB / 0.9521 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.264, allocations: 39 kB / 0.9521 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.264, allocations: 4 kB / 0.9521 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.02561/0.2896, allocations: 8.773 MB / 0.9607 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.2897, allocations: 60.06 kB / 0.9608 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.2908, allocations: 1.104 MB / 0.9618 GB, free: 264 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.951e-05/0.2909, allocations: 41.7 kB / 0.9619 GB, free: 216 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.2914, allocations: 0.7341 MB / 0.9626 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2917, allocations: 280 kB / 0.9629 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.2919, allocations: 77.67 kB / 0.9629 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.292, allocations: 341.9 kB / 0.9633 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.2949, allocations: 1.095 MB / 0.9643 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/0.2979, allocations: 1.329 MB / 0.9656 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005829/0.3038, allocations: 2.425 MB / 0.968 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.3038, allocations: 7.938 kB / 0.968 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008527/0.3123, allocations: 3.32 MB / 0.9712 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3124, allocations: 12.16 kB / 0.9713 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3124, allocations: 8 kB / 0.9713 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.3151, allocations: 0.7872 MB / 0.972 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.3168, allocations: 427.2 kB / 0.9724 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.331, allocations: 14.72 MB / 0.9868 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.3332, allocations: 303.6 kB / 0.9871 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3333, allocations: 51.97 kB / 0.9871 GB, free: 4.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007607/0.3341, allocations: 395.8 kB / 0.9875 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.3344, allocations: 142.3 kB / 0.9877 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008311/0.3428, allocations: 3.253 MB / 0.9908 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3428, allocations: 8 kB / 0.9908 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.3428, allocations: 8 kB / 0.9909 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3428, allocations: 3.984 kB / 0.9909 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.3535, allocations: 4.952 MB / 0.9957 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3535, allocations: 3.984 kB / 0.9957 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.3551, allocations: 359.4 kB / 0.996 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.3574, allocations: 0.7014 MB / 0.9967 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.3575, allocations: 31.97 kB / 0.9968 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.371, allocations: 14.33 MB / 1.011 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.371, allocations: 4 kB / 1.011 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007915/0.379, allocations: 3.089 MB / 1.014 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/0.3798, allocations: 387.1 kB / 1.014 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.3801, allocations: 19.94 kB / 1.014 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.3819, allocations: 303.7 kB / 1.014 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.3822, allocations: 72.5 kB / 1.015 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.3823, allocations: 51.95 kB / 1.015 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001048/0.3833, allocations: 0.7366 MB / 1.015 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3833, allocations: 0 / 1.015 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001534/0.3849, allocations: 431.9 kB / 1.016 GB, free: 6.375 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/0.3851, allocations: 134.1 kB / 1.016 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008153/0.3933, allocations: 3.656 MB / 1.019 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.3933, allocations: 4.125 kB / 1.019 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004826/0.3982, allocations: 2.383 MB / 1.022 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.4009, allocations: 488.6 kB / 1.022 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007962/0.4089, allocations: 4.178 MB / 1.026 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.4101, allocations: 1.384 MB / 1.028 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.4107, allocations: 123.3 kB / 1.028 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/0.4107, allocations: 0 / 1.028 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of Templates: time 0.3851/0.7959, allocations: 74.79 MB / 1.101 GB, free: 117 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)