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.001029/0.001029, allocations: 92.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008822/0.0008824, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 123 MB / 415.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 8.281 kB / 0.4933 GB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4867, allocations: 79.29 MB / 0.5707 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006468/0.4932, allocations: 5.666 MB / 0.5763 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.4982, allocations: 3.105 MB / 0.5793 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.4989, allocations: 25.16 kB / 0.5793 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.4993, allocations: 119.1 kB / 0.5795 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.5008, allocations: 444.6 kB / 0.5799 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.5024, allocations: 440.9 kB / 0.5803 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.5045, allocations: 1.464 MB / 0.5817 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.5065, allocations: 0.9923 MB / 0.5827 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007974/0.5073, allocations: 355 kB / 0.583 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007009/0.508, allocations: 451.3 kB / 0.5835 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.5081, allocations: 31.16 kB / 0.5835 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.5094, allocations: 0.569 MB / 0.5841 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.5098, allocations: 258.6 kB / 0.5843 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.5102, allocations: 393.7 kB / 0.5847 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.5118, allocations: 1.159 MB / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5118, allocations: 0 / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5119, allocations: 0 / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.5119, allocations: 0.6562 kB / 0.5858 GB, free: 2.113 MB / 430.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.001532/0.5134, allocations: 0.9068 MB / 0.5867 GB, free: 1.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5135, allocations: 14.12 kB / 0.5867 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.5151, allocations: 223.1 kB / 0.5869 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.5159, allocations: 0.5308 MB / 0.5874 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.516, allocations: 46.59 kB / 0.5875 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5161, allocations: 60.89 kB / 0.5875 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.5178, allocations: 1.038 MB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.5179, allocations: 15 kB / 0.5886 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.518, allocations: 29.56 kB / 0.5886 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.5181, allocations: 64.77 kB / 0.5887 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.5195, allocations: 0.6911 MB / 0.5893 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006652/0.5262, allocations: 5.762 MB / 0.595 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.5272, allocations: 0.597 MB / 0.5955 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.528, allocations: 423.5 kB / 0.5959 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.528, allocations: 7.656 kB / 0.596 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5281, allocations: 41.61 kB / 0.596 GB, free: 10.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.895e-06/0.5281, allocations: 0 / 0.596 GB, free: 10.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.005156/0.5332, allocations: 2.073 MB / 0.598 GB, free: 9.488 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.5333, allocations: 56.98 kB / 0.5981 GB, free: 9.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.534, allocations: 463.6 kB / 0.5985 GB, free: 9.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.5341, allocations: 30.83 kB / 0.5985 GB, free: 9.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.5344, allocations: 381.7 kB / 0.5989 GB, free: 8.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.5345, allocations: 150 kB / 0.599 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.5346, allocations: 49.78 kB / 0.5991 GB, free: 8.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5348, allocations: 367.6 kB / 0.5994 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.5352, allocations: 248.5 kB / 0.5997 GB, free: 8.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.5358, allocations: 458.9 kB / 0.6001 GB, free: 7.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.5368, allocations: 0.7501 MB / 0.6009 GB, free: 7.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.5368, allocations: 2.531 kB / 0.6009 GB, free: 7.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002091/0.5389, allocations: 1.069 MB / 0.6019 GB, free: 6.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.5389, allocations: 7.125 kB / 0.6019 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5389, allocations: 7.625 kB / 0.6019 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.54, allocations: 328.7 kB / 0.6022 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.5404, allocations: 103.8 kB / 0.6023 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/0.548, allocations: 6.951 MB / 0.6091 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.5486, allocations: 38.42 kB / 0.6091 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.5487, allocations: 25.59 kB / 0.6092 GB, free: 15.96 MB / 462.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.000495/0.5492, allocations: 247.3 kB / 0.6094 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.5494, allocations: 56.69 kB / 0.6095 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.5513, allocations: 0.9093 MB / 0.6104 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5513, allocations: 4.375 kB / 0.6104 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5513, allocations: 7.844 kB / 0.6104 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-05/0.5514, allocations: 4.984 kB / 0.6104 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.5544, allocations: 1.698 MB / 0.612 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5544, allocations: 6.312 kB / 0.612 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.5546, allocations: 45.06 kB / 0.6121 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009712/0.5556, allocations: 332.1 kB / 0.6124 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.5556, allocations: 8.281 kB / 0.6124 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.5628, allocations: 6.947 MB / 0.6192 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.5628, allocations: 2.75 kB / 0.6192 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5647, allocations: 1.008 MB / 0.6202 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.5651, allocations: 176.5 kB / 0.6203 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5653, allocations: 7.812 kB / 0.6203 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.5656, allocations: 17.7 kB / 0.6204 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5657, allocations: 49.75 kB / 0.6204 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.5658, allocations: 16.47 kB / 0.6204 GB, free: 6.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.5662, allocations: 301.6 kB / 0.6207 GB, free: 6.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5662, allocations: 0 / 0.6207 GB, free: 6.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009297/0.5671, allocations: 198.4 kB / 0.6209 GB, free: 6.383 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.0001497/0.5673, allocations: 117 kB / 0.621 GB, free: 6.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.5693, allocations: 1.2 MB / 0.6222 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5694, allocations: 5.625 kB / 0.6222 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.5706, allocations: 0.8646 MB / 0.623 GB, free: 4.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5719, allocations: 178.2 kB / 0.6232 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.5742, allocations: 1.538 MB / 0.6247 GB, free: 2.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.5748, allocations: 0.9881 MB / 0.6257 GB, free: 1.836 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.5752, allocations: 101.2 kB / 0.6258 GB, free: 1.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.5753, allocations: 31.44 kB / 0.6258 GB, free: 1.707 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5753, allocations: 4 kB / 0.6258 GB, free: 1.703 MB / 462.1 MB Notification: Performance of Templates: time 0.01635/0.5916, allocations: 9.438 MB / 0.635 GB, free: 8.371 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)