Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001109/0.001109, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7174/0.7174, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3495, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007122/0.3566, allocations: 6.727 MB / 0.5641 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004745/0.3614, allocations: 3.031 MB / 0.5671 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006783/0.3621, allocations: 33.56 kB / 0.5671 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.3645, allocations: 0.9404 MB / 0.568 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.3661, allocations: 0.5022 MB / 0.5685 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3675, allocations: 422.6 kB / 0.5689 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.3696, allocations: 1.223 MB / 0.5701 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3708, allocations: 0.6578 MB / 0.5708 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008457/0.3716, allocations: 475.8 kB / 0.5712 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.3724, allocations: 0.5195 MB / 0.5717 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.3725, allocations: 70.34 kB / 0.5718 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3736, allocations: 379.5 kB / 0.5722 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.374, allocations: 302 kB / 0.5725 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006082/0.3746, allocations: 451.8 kB / 0.5729 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3764, allocations: 1.214 MB / 0.5741 GB, free: 26.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3764, allocations: 0.7812 kB / 0.5741 GB, free: 26.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3764, allocations: 1.375 kB / 0.5741 GB, free: 26.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.3764, allocations: 1.156 kB / 0.5741 GB, free: 26.76 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002035/0.3785, allocations: 1.159 MB / 0.5752 GB, free: 25.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3785, allocations: 9.531 kB / 0.5752 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.3802, allocations: 242.8 kB / 0.5754 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3813, allocations: 0.5862 MB / 0.576 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.3814, allocations: 55.38 kB / 0.5761 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3815, allocations: 62.98 kB / 0.5761 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.383, allocations: 1.083 MB / 0.5772 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.383, allocations: 10.95 kB / 0.5772 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.3831, allocations: 35.3 kB / 0.5772 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.3832, allocations: 84 kB / 0.5773 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3844, allocations: 0.7525 MB / 0.5781 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/0.389, allocations: 5.874 MB / 0.5838 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.39, allocations: 0.5551 MB / 0.5843 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.3904, allocations: 328.3 kB / 0.5846 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.3905, allocations: 8 kB / 0.5846 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3905, allocations: 43.33 kB / 0.5847 GB, free: 19.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.074e-06/0.3905, allocations: 0 / 0.5847 GB, free: 19.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003656/0.3942, allocations: 1.981 MB / 0.5866 GB, free: 18.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.3942, allocations: 64.39 kB / 0.5867 GB, free: 18.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.3948, allocations: 0.5549 MB / 0.5872 GB, free: 17.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.3949, allocations: 32.27 kB / 0.5873 GB, free: 17.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.3951, allocations: 412.6 kB / 0.5877 GB, free: 17.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3952, allocations: 171.6 kB / 0.5878 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3954, allocations: 125.2 kB / 0.5879 GB, free: 17.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3955, allocations: 382.2 kB / 0.5883 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.396, allocations: 275 kB / 0.5886 GB, free: 16.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.3964, allocations: 495.2 kB / 0.589 GB, free: 16.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.3973, allocations: 0.8038 MB / 0.5898 GB, free: 15.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3973, allocations: 1.375 kB / 0.5898 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00162/0.3989, allocations: 1.086 MB / 0.5909 GB, free: 15.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.399, allocations: 9.75 kB / 0.5909 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.399, allocations: 5.875 kB / 0.5909 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007712/0.3997, allocations: 286.2 kB / 0.5912 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.4002, allocations: 129.4 kB / 0.5913 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/0.4052, allocations: 7.142 MB / 0.5983 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/0.4059, allocations: 38.97 kB / 0.5983 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.406, allocations: 27.03 kB / 0.5983 GB, free: 8.344 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003502/0.4063, allocations: 258.9 kB / 0.5986 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4065, allocations: 71.41 kB / 0.5986 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.4079, allocations: 0.8923 MB / 0.5995 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4079, allocations: 4.312 kB / 0.5995 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4079, allocations: 3.5 kB / 0.5995 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4079, allocations: 1.062 kB / 0.5995 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.4103, allocations: 1.728 MB / 0.6012 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4103, allocations: 4 kB / 0.6012 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.4106, allocations: 59.83 kB / 0.6013 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/0.4112, allocations: 271.4 kB / 0.6015 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.4112, allocations: 12 kB / 0.6015 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.4162, allocations: 7.122 MB / 0.6085 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4162, allocations: 4.031 kB / 0.6085 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.4178, allocations: 0.9835 MB / 0.6095 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.4182, allocations: 188.3 kB / 0.6096 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.4183, allocations: 11.98 kB / 0.6097 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.4187, allocations: 31.91 kB / 0.6097 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4188, allocations: 43.88 kB / 0.6097 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.4188, allocations: 20 kB / 0.6097 GB, free: 12.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.4193, allocations: 383.1 kB / 0.6101 GB, free: 12.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4193, allocations: 0 / 0.6101 GB, free: 12.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008886/0.4202, allocations: 228 kB / 0.6103 GB, free: 12.23 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.4204, allocations: 107.2 kB / 0.6104 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.4223, allocations: 1.283 MB / 0.6117 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4223, allocations: 0 / 0.6117 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.4235, allocations: 0.8897 MB / 0.6126 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4246, allocations: 221.6 kB / 0.6128 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4267, allocations: 1.327 MB / 0.6141 GB, free: 8.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.4273, allocations: 1.005 MB / 0.615 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.4277, allocations: 114 kB / 0.6151 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.4278, allocations: 43.44 kB / 0.6152 GB, free: 7.066 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4278, allocations: 0 / 0.6152 GB, free: 7.066 MB / 462.1 MB Notification: Performance of Templates: time 0.01815/0.4459, allocations: 11.18 MB / 0.6261 GB, free: 12.05 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)