Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001196/0.001196, allocations: 201.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7498/0.7498, allocations: 122.9 MB / 413.6 MB, free: 12 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002026, allocations: 59.89 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3946, allocations: 77.91 MB / 0.5667 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01224/0.4069, allocations: 10.84 MB / 0.5773 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.419, allocations: 8.707 MB / 0.5858 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4207, allocations: 55.19 kB / 0.5858 GB, free: 19.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.4245, allocations: 1.577 MB / 0.5874 GB, free: 18.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.429, allocations: 1.401 MB / 0.5887 GB, free: 16.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.4307, allocations: 0.6089 MB / 0.5893 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.4332, allocations: 2.287 MB / 0.5916 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.4352, allocations: 1.547 MB / 0.5931 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.4369, allocations: 1.002 MB / 0.5941 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.4386, allocations: 1.054 MB / 0.5951 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.4389, allocations: 138.1 kB / 0.5952 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.4406, allocations: 0.8074 MB / 0.596 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005/0.4411, allocations: 0.5677 MB / 0.5966 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.4419, allocations: 0.89 MB / 0.5974 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.4441, allocations: 2.582 MB / 0.6 GB, free: 8.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4441, allocations: 0 / 0.6 GB, free: 8.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4441, allocations: 3.984 kB / 0.6 GB, free: 8.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.4441, allocations: 3.938 kB / 0.6 GB, free: 8.895 MB / 446.1 MB 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.002666/0.4468, allocations: 2.018 MB / 0.6019 GB, free: 6.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4469, allocations: 12.62 kB / 0.6019 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4573, allocations: 2.046 MB / 0.6039 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.4592, allocations: 1.13 MB / 0.605 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.4592, allocations: 86.69 kB / 0.6051 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.4594, allocations: 120.1 kB / 0.6052 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/0.4641, allocations: 2.482 MB / 0.6077 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.4642, allocations: 7.906 kB / 0.6077 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.4643, allocations: 55.98 kB / 0.6077 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003011/0.4646, allocations: 130.1 kB / 0.6079 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006935/0.4716, allocations: 2.537 MB / 0.6103 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.4848, allocations: 10.08 MB / 0.6202 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/0.4907, allocations: 1.951 MB / 0.6221 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.4934, allocations: 0.9699 MB / 0.623 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.4935, allocations: 12.42 kB / 0.623 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4935, allocations: 42.94 kB / 0.6231 GB, free: 248 kB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.455e-06/0.4935, allocations: 0 / 0.6231 GB, free: 248 kB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.03065/0.5242, allocations: 8.714 MB / 0.6316 GB, free: 7.465 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.5243, allocations: 64.06 kB / 0.6316 GB, free: 7.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.5257, allocations: 1.093 MB / 0.6327 GB, free: 6.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.5258, allocations: 37.7 kB / 0.6328 GB, free: 6.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.5264, allocations: 0.7495 MB / 0.6335 GB, free: 5.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.5266, allocations: 272 kB / 0.6337 GB, free: 5.207 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.527, allocations: 202.4 kB / 0.6339 GB, free: 5.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5272, allocations: 345.9 kB / 0.6343 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.53, allocations: 1.071 MB / 0.6353 GB, free: 3.586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/0.5331, allocations: 1.301 MB / 0.6366 GB, free: 2.191 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006243/0.5394, allocations: 2.382 MB / 0.6389 GB, free: 15.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.5394, allocations: 0 / 0.6389 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00937/0.5488, allocations: 3.276 MB / 0.6421 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.5489, allocations: 13.97 kB / 0.6421 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5489, allocations: 8 kB / 0.6421 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/0.5518, allocations: 0.7995 MB / 0.6429 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.5538, allocations: 419.2 kB / 0.6433 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/0.5703, allocations: 15.92 MB / 0.6589 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.5727, allocations: 291.6 kB / 0.6591 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5728, allocations: 55.95 kB / 0.6592 GB, free: 9.77 MB / 0.4981 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.0008066/0.5736, allocations: 397.4 kB / 0.6596 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.5739, allocations: 146.3 kB / 0.6597 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/0.5828, allocations: 3.202 MB / 0.6628 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5829, allocations: 11.94 kB / 0.6628 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.5829, allocations: 8 kB / 0.6628 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.5829, allocations: 3.984 kB / 0.6629 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.5939, allocations: 4.905 MB / 0.6676 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.594, allocations: 15.86 kB / 0.6677 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.5956, allocations: 347.7 kB / 0.668 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.5981, allocations: 0.7174 MB / 0.6687 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.5982, allocations: 27.97 kB / 0.6687 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.6131, allocations: 15.55 MB / 0.6839 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6132, allocations: 0 / 0.6839 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007984/0.6212, allocations: 3.046 MB / 0.6869 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.6219, allocations: 383.2 kB / 0.6872 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.6221, allocations: 12 kB / 0.6872 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.6239, allocations: 299.4 kB / 0.6875 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.6241, allocations: 76.5 kB / 0.6876 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.6242, allocations: 39.95 kB / 0.6876 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009385/0.6252, allocations: 0.7366 MB / 0.6884 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6252, allocations: 4 kB / 0.6884 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001387/0.6266, allocations: 428 kB / 0.6888 GB, free: 10.04 MB / 0.5294 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.000257/0.6268, allocations: 127.2 kB / 0.6889 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008452/0.6353, allocations: 3.761 MB / 0.6926 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6353, allocations: 0 / 0.6926 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004915/0.6403, allocations: 2.368 MB / 0.6949 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.6426, allocations: 0.5206 MB / 0.6954 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/0.65, allocations: 4.074 MB / 0.6994 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.651, allocations: 1.384 MB / 0.7007 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001579/0.6526, allocations: 375.9 kB / 0.7011 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.6529, allocations: 107.4 kB / 0.7012 GB, free: 13.04 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.6529, allocations: 0 / 0.7012 GB, free: 13.04 MB / 0.545 GB Notification: Performance of Templates: time 0.0472/0.7001, allocations: 30.41 MB / 0.7309 GB, free: 15.07 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)