Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 88.55 kB / 16.67 MB, free: 6.594 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.001047/0.001047, allocations: 184 kB / 17.58 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.407/1.407, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7468/0.7468, allocations: 115.5 MB / 408.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3803, allocations: 77.52 MB / 0.5606 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006588/0.3869, allocations: 5.663 MB / 0.5661 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004901/0.3919, allocations: 3.109 MB / 0.5692 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005314/0.3924, allocations: 24.41 kB / 0.5692 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.3929, allocations: 119.3 kB / 0.5693 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.3941, allocations: 448 kB / 0.5697 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.3955, allocations: 436 kB / 0.5701 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.3976, allocations: 1.461 MB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.3998, allocations: 0.9887 MB / 0.5725 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/0.4006, allocations: 360.4 kB / 0.5729 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.4014, allocations: 443.2 kB / 0.5733 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.4015, allocations: 30.91 kB / 0.5733 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.4028, allocations: 0.5785 MB / 0.5739 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.4032, allocations: 254.8 kB / 0.5741 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.4037, allocations: 385.1 kB / 0.5745 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.4051, allocations: 0.8932 MB / 0.5754 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4052, allocations: 1.375 kB / 0.5754 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4052, allocations: 1.562 kB / 0.5754 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4052, allocations: 0 / 0.5754 GB, free: 27.69 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001589/0.4068, allocations: 0.9065 MB / 0.5763 GB, free: 27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4068, allocations: 14.62 kB / 0.5763 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.4086, allocations: 220.5 kB / 0.5765 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.4094, allocations: 0.535 MB / 0.577 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.4095, allocations: 46.52 kB / 0.5771 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.4096, allocations: 66 kB / 0.5771 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.4113, allocations: 1.027 MB / 0.5781 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.4113, allocations: 10.84 kB / 0.5781 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.4114, allocations: 30.5 kB / 0.5782 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.4115, allocations: 71.16 kB / 0.5782 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4127, allocations: 0.6904 MB / 0.5789 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.4176, allocations: 5.77 MB / 0.5845 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.4186, allocations: 0.5969 MB / 0.5851 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.4195, allocations: 417.3 kB / 0.5855 GB, free: 20.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.4195, allocations: 3.031 kB / 0.5855 GB, free: 20.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.4195, allocations: 39.45 kB / 0.5856 GB, free: 20.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 4.789e-06/0.4196, allocations: 3.984 kB / 0.5856 GB, free: 20.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004955/0.4245, allocations: 2.068 MB / 0.5876 GB, free: 19.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4246, allocations: 55.44 kB / 0.5876 GB, free: 19.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.4253, allocations: 462.7 kB / 0.5881 GB, free: 18.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.4254, allocations: 30.83 kB / 0.5881 GB, free: 18.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.4257, allocations: 392.3 kB / 0.5885 GB, free: 18.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4258, allocations: 154.5 kB / 0.5886 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/0.4259, allocations: 54.56 kB / 0.5887 GB, free: 18.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.426, allocations: 363.2 kB / 0.589 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.4264, allocations: 243.5 kB / 0.5893 GB, free: 17.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.427, allocations: 463.5 kB / 0.5897 GB, free: 17.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.428, allocations: 0.7587 MB / 0.5904 GB, free: 16.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.428, allocations: 5.281 kB / 0.5904 GB, free: 16.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002128/0.4301, allocations: 1.057 MB / 0.5915 GB, free: 16.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.4302, allocations: 9.438 kB / 0.5915 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.4302, allocations: 6.219 kB / 0.5915 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4313, allocations: 333.5 kB / 0.5918 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.4317, allocations: 90.67 kB / 0.5919 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/0.438, allocations: 6.958 MB / 0.5987 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.4387, allocations: 31.7 kB / 0.5987 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.4387, allocations: 25.78 kB / 0.5988 GB, free: 9.695 MB / 446.1 MB 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004042/0.4391, allocations: 243.1 kB / 0.599 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4393, allocations: 56.34 kB / 0.599 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.441, allocations: 0.9137 MB / 0.5999 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.441, allocations: 8.641 kB / 0.5999 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.441, allocations: 3.844 kB / 0.5999 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.441, allocations: 7.922 kB / 0.5999 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.4436, allocations: 1.717 MB / 0.6016 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4436, allocations: 4.188 kB / 0.6016 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.4438, allocations: 39.97 kB / 0.6017 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.4446, allocations: 327.2 kB / 0.602 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.4447, allocations: 8 kB / 0.602 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004945/0.4496, allocations: 6.927 MB / 0.6088 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4497, allocations: 4 kB / 0.6088 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.4515, allocations: 1.015 MB / 0.6097 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.4518, allocations: 172.3 kB / 0.6099 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.4519, allocations: 8.234 kB / 0.6099 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.4522, allocations: 23.97 kB / 0.6099 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4523, allocations: 43.88 kB / 0.61 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.4524, allocations: 19.92 kB / 0.61 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004024/0.4528, allocations: 311.2 kB / 0.6103 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4528, allocations: 0 / 0.6103 GB, free: 14.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009987/0.4538, allocations: 192 kB / 0.6105 GB, free: 14 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001819/0.454, allocations: 115.1 kB / 0.6106 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.4561, allocations: 1.206 MB / 0.6118 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4562, allocations: 0 / 0.6118 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.4575, allocations: 0.8621 MB / 0.6126 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.4587, allocations: 190.6 kB / 0.6128 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.4614, allocations: 1.592 MB / 0.6143 GB, free: 9.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.4621, allocations: 0.996 MB / 0.6153 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.4623, allocations: 35.44 kB / 0.6154 GB, free: 8.816 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4623, allocations: 0 / 0.6154 GB, free: 8.816 MB / 462.1 MB Notification: Performance of Templates: time 0.0249/0.4872, allocations: 18.36 MB / 0.6333 GB, free: 6.488 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)