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.002042/0.002042, allocations: 104.3 kB / 16.4 MB, free: 6.461 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.001778/0.001778, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7516/0.7516, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.12 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1905, allocations: 76.18 MB / 0.6321 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01561/0.2062, allocations: 10.88 MB / 0.6427 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.2209, allocations: 8.803 MB / 0.6513 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.2229, allocations: 59.62 kB / 0.6514 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004762/0.2277, allocations: 1.678 MB / 0.653 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.2328, allocations: 1.565 MB / 0.6545 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.2347, allocations: 0.6727 MB / 0.6552 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003284/0.2379, allocations: 2.286 MB / 0.6574 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.2403, allocations: 1.372 MB / 0.6588 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2423, allocations: 1.012 MB / 0.6597 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.2443, allocations: 1.012 MB / 0.6607 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000471/0.2447, allocations: 140 kB / 0.6609 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.2467, allocations: 0.8072 MB / 0.6617 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008086/0.2475, allocations: 0.5647 MB / 0.6622 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.2493, allocations: 0.8861 MB / 0.6631 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.2528, allocations: 2.574 MB / 0.6656 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2528, allocations: 4 kB / 0.6656 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2528, allocations: 0 / 0.6656 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.2528, allocations: 0 / 0.6656 GB, free: 1.992 MB / 0.4981 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.003214/0.256, allocations: 2.01 MB / 0.6676 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.2561, allocations: 8.031 kB / 0.6676 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.2675, allocations: 2.054 MB / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.2702, allocations: 1.212 MB / 0.6707 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.2703, allocations: 90.69 kB / 0.6708 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.2705, allocations: 120.1 kB / 0.6709 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005588/0.2761, allocations: 2.474 MB / 0.6734 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.2762, allocations: 15.83 kB / 0.6734 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.2764, allocations: 55.98 kB / 0.6734 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/0.2767, allocations: 130.1 kB / 0.6736 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007276/0.284, allocations: 2.537 MB / 0.676 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.2989, allocations: 10.03 MB / 0.6858 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006328/0.3053, allocations: 1.956 MB / 0.6877 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.3081, allocations: 0.966 MB / 0.6887 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.3082, allocations: 8.422 kB / 0.6887 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3083, allocations: 43 kB / 0.6887 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.3083, allocations: 0 / 0.6887 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03201/0.3403, allocations: 8.718 MB / 0.6972 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3404, allocations: 68.05 kB / 0.6973 GB, free: 456 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.3421, allocations: 1.101 MB / 0.6984 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.3422, allocations: 37.7 kB / 0.6984 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.3428, allocations: 0.7379 MB / 0.6991 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.3431, allocations: 280 kB / 0.6994 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.3436, allocations: 202.4 kB / 0.6996 GB, free: 14.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3437, allocations: 345.9 kB / 0.6999 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.3468, allocations: 1.067 MB / 0.701 GB, free: 12.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/0.3501, allocations: 1.313 MB / 0.7023 GB, free: 11.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/0.3564, allocations: 2.378 MB / 0.7046 GB, free: 8.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.3564, allocations: 4 kB / 0.7046 GB, free: 8.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009373/0.3658, allocations: 3.276 MB / 0.7078 GB, free: 5.445 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3659, allocations: 8.875 kB / 0.7078 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3659, allocations: 8 kB / 0.7078 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/0.3688, allocations: 0.7949 MB / 0.7086 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.3709, allocations: 415.3 kB / 0.709 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.3892, allocations: 15.92 MB / 0.7245 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.392, allocations: 291.5 kB / 0.7248 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/0.3923, allocations: 47.97 kB / 0.7248 GB, free: 2.824 MB / 0.5606 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.000985/0.3933, allocations: 401.5 kB / 0.7252 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.3937, allocations: 142.3 kB / 0.7254 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/0.4033, allocations: 3.206 MB / 0.7285 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.4033, allocations: 15.88 kB / 0.7285 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/0.4034, allocations: 4 kB / 0.7285 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4034, allocations: 11.98 kB / 0.7285 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.416, allocations: 4.898 MB / 0.7333 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.416, allocations: 7.938 kB / 0.7333 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.4178, allocations: 351.4 kB / 0.7336 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.4204, allocations: 0.6976 MB / 0.7343 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.4205, allocations: 35.95 kB / 0.7344 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.4364, allocations: 15.52 MB / 0.7495 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.4365, allocations: 7.969 kB / 0.7495 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009077/0.4456, allocations: 3.051 MB / 0.7525 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009244/0.4465, allocations: 383.2 kB / 0.7529 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.447, allocations: 15.94 kB / 0.7529 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/0.4494, allocations: 295.4 kB / 0.7532 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/0.4498, allocations: 80.5 kB / 0.7532 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.4499, allocations: 39.95 kB / 0.7533 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001667/0.4516, allocations: 0.7366 MB / 0.754 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4516, allocations: 0 / 0.754 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002211/0.4538, allocations: 432 kB / 0.7544 GB, free: 3.113 MB / 0.5919 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.0003396/0.4542, allocations: 133.6 kB / 0.7545 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3741/0.8283, allocations: 3.616 MB / 0.7581 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.8283, allocations: 1.812 kB / 0.7581 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006281/0.8346, allocations: 2.368 MB / 0.7604 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.8376, allocations: 0.5291 MB / 0.7609 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009119/0.8467, allocations: 3.432 MB / 0.7643 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.8481, allocations: 1.386 MB / 0.7656 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0018/0.8499, allocations: 376.1 kB / 0.766 GB, free: 114 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.8503, allocations: 107.3 kB / 0.7661 GB, free: 114 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/0.8503, allocations: 3.094 kB / 0.7661 GB, free: 114 MB / 0.5919 GB Notification: Performance of Templates: time 0.04693/0.8972, allocations: 30.48 MB / 0.7958 GB, free: 98.61 MB / 0.5919 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)