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.587/1.587, allocations: 252 MB / 267.6 MB, free: 10.91 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.001247/0.001248, allocations: 192.1 kB / 327.3 MB, free: 2.188 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.856/1.856, allocations: 205.4 MB / 0.5783 GB, free: 20.22 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.0008437/0.0008439, allocations: 87.97 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 9.25 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 106.4 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008055/0.2214, allocations: 9.72 MB / 0.9103 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00933/0.2307, allocations: 8.252 MB / 0.9184 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.2321, allocations: 55.69 kB / 0.9184 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.2329, allocations: 265.8 kB / 0.9187 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.236, allocations: 1.26 MB / 0.9199 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2372, allocations: 470 kB / 0.9204 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2391, allocations: 2.446 MB / 0.9228 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.2414, allocations: 1.773 MB / 0.9245 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.2424, allocations: 0.7896 MB / 0.9253 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000881/0.2433, allocations: 0.9066 MB / 0.9262 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2434, allocations: 60 kB / 0.9262 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.2444, allocations: 463.4 kB / 0.9267 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.2447, allocations: 482.4 kB / 0.9271 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.245, allocations: 340.8 kB / 0.9274 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.2462, allocations: 1.956 MB / 0.9293 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2462, allocations: 0 / 0.9293 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2463, allocations: 0 / 0.9293 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.2463, allocations: 7.938 kB / 0.9294 GB, free: 34.5 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.002246/0.2485, allocations: 1.727 MB / 0.931 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2486, allocations: 11.97 kB / 0.9311 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.2586, allocations: 2.112 MB / 0.9331 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.2606, allocations: 1.079 MB / 0.9342 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.2607, allocations: 86.31 kB / 0.9343 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.2609, allocations: 119.9 kB / 0.9344 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.2654, allocations: 2.497 MB / 0.9368 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.2655, allocations: 0 / 0.9368 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.2656, allocations: 59.97 kB / 0.9369 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002902/0.2659, allocations: 130.1 kB / 0.937 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006158/0.2721, allocations: 2.584 MB / 0.9395 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.2828, allocations: 10.12 MB / 0.9494 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/0.2881, allocations: 1.999 MB / 0.9513 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.2904, allocations: 0.9855 MB / 0.9523 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2905, allocations: 16.36 kB / 0.9523 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2905, allocations: 43 kB / 0.9524 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.2905, allocations: 0 / 0.9524 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.02683/0.3174, allocations: 8.758 MB / 0.9609 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.3174, allocations: 60.06 kB / 0.961 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.3185, allocations: 1.089 MB / 0.962 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.452e-05/0.3186, allocations: 41.64 kB / 0.9621 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.3191, allocations: 0.7378 MB / 0.9628 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.3193, allocations: 276 kB / 0.9631 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3194, allocations: 24 kB / 0.9631 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3195, allocations: 349.9 kB / 0.9634 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.3224, allocations: 1.087 MB / 0.9645 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.3253, allocations: 1.325 MB / 0.9658 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.3282, allocations: 1.139 MB / 0.9669 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3282, allocations: 4 kB / 0.9669 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00859/0.3368, allocations: 3.303 MB / 0.9701 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3369, allocations: 12.81 kB / 0.9701 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3369, allocations: 8 kB / 0.9701 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/0.3396, allocations: 0.791 MB / 0.9709 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.3415, allocations: 427.3 kB / 0.9713 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.3561, allocations: 14.68 MB / 0.9857 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.3583, allocations: 303.5 kB / 0.9859 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3584, allocations: 51.95 kB / 0.986 GB, free: 6.184 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007388/0.3591, allocations: 401.5 kB / 0.9864 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3594, allocations: 146.3 kB / 0.9865 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008684/0.368, allocations: 3.245 MB / 0.9897 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3681, allocations: 8 kB / 0.9897 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.3681, allocations: 8 kB / 0.9897 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.3681, allocations: 3.984 kB / 0.9897 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.3789, allocations: 4.94 MB / 0.9945 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3789, allocations: 352 / 0.9945 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.3805, allocations: 367.4 kB / 0.9949 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.3828, allocations: 0.6896 MB / 0.9955 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.745e-05/0.3829, allocations: 35.95 kB / 0.9956 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.3965, allocations: 14.31 MB / 1.01 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3966, allocations: 4.031 kB / 1.01 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008011/0.4046, allocations: 3.081 MB / 1.013 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/0.4055, allocations: 379.2 kB / 1.013 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.4056, allocations: 23.98 kB / 1.013 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.4074, allocations: 299.5 kB / 1.013 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.4077, allocations: 80.44 kB / 1.013 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4078, allocations: 39.97 kB / 1.013 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009568/0.4088, allocations: 0.7327 MB / 1.014 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4088, allocations: 0 / 1.014 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00145/0.4102, allocations: 428 kB / 1.014 GB, free: 7.637 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002402/0.4105, allocations: 139.1 kB / 1.015 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008081/0.4186, allocations: 3.648 MB / 1.018 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4186, allocations: 0 / 1.018 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004886/0.4235, allocations: 2.383 MB / 1.021 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.4259, allocations: 490.9 kB / 1.021 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/0.4335, allocations: 4.055 MB / 1.025 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.4345, allocations: 1.384 MB / 1.026 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.4351, allocations: 123.3 kB / 1.026 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.4351, allocations: 0 / 1.026 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.3642/0.7993, allocations: 74.86 MB / 1.1 GB, free: 115.3 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)