Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001018/0.001018, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.344/1.344, 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.7947/0.7947, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.89 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1748, allocations: 77.93 MB / 0.6446 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006638/0.1814, allocations: 5.455 MB / 0.6499 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.1857, allocations: 2.626 MB / 0.6525 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.186, allocations: 23.81 kB / 0.6525 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.1877, allocations: 0.6808 MB / 0.6531 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009526/0.1887, allocations: 405.8 kB / 0.6535 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.1896, allocations: 388.8 kB / 0.6539 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.1906, allocations: 0.9591 MB / 0.6548 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.1912, allocations: 458.5 kB / 0.6553 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.1916, allocations: 374.6 kB / 0.6556 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.1921, allocations: 410.4 kB / 0.656 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.531e-05/0.1922, allocations: 48 kB / 0.6561 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.1929, allocations: 359.2 kB / 0.6564 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.1931, allocations: 259.2 kB / 0.6567 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.1934, allocations: 346.3 kB / 0.657 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1945, allocations: 0.9689 MB / 0.6579 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1945, allocations: 0 / 0.6579 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1945, allocations: 0 / 0.6579 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.1945, allocations: 0 / 0.6579 GB, free: 11.3 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001464/0.196, allocations: 0.9923 MB / 0.6589 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1961, allocations: 16.61 kB / 0.6589 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.1974, allocations: 196.2 kB / 0.6591 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.198, allocations: 0.5184 MB / 0.6596 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.1981, allocations: 41.36 kB / 0.6597 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.1982, allocations: 52.53 kB / 0.6597 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1993, allocations: 0.8326 MB / 0.6605 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.1994, allocations: 7.953 kB / 0.6605 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.1994, allocations: 27.98 kB / 0.6605 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.1996, allocations: 60.95 kB / 0.6606 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007981/0.2004, allocations: 0.5813 MB / 0.6612 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.2045, allocations: 4.57 MB / 0.6656 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.2049, allocations: 291.3 kB / 0.6659 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.2052, allocations: 233.3 kB / 0.6661 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.2053, allocations: 4.281 kB / 0.6661 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2053, allocations: 38.83 kB / 0.6662 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.2053, allocations: 0 / 0.6662 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005085/0.2104, allocations: 2.635 MB / 0.6688 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2104, allocations: 55.41 kB / 0.6688 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.2109, allocations: 458 kB / 0.6692 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2109, allocations: 37.69 kB / 0.6693 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.2111, allocations: 348.5 kB / 0.6696 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2112, allocations: 154.7 kB / 0.6698 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.2114, allocations: 106.2 kB / 0.6699 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2115, allocations: 362.8 kB / 0.6702 GB, free: 14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.2118, allocations: 237 kB / 0.6704 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.2123, allocations: 414.3 kB / 0.6708 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.2131, allocations: 0.674 MB / 0.6715 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2131, allocations: 0 / 0.6715 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00151/0.2146, allocations: 0.9177 MB / 0.6724 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2146, allocations: 15.98 kB / 0.6724 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2146, allocations: 8 kB / 0.6724 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.2154, allocations: 226.3 kB / 0.6726 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.2159, allocations: 119.7 kB / 0.6727 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/0.221, allocations: 5.344 MB / 0.678 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.2214, allocations: 31.97 kB / 0.678 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.2215, allocations: 24 kB / 0.678 GB, free: 5.426 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000313/0.2218, allocations: 217.6 kB / 0.6782 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.2219, allocations: 67.75 kB / 0.6783 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.2233, allocations: 0.7699 MB / 0.679 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.2233, allocations: 4 kB / 0.679 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2233, allocations: 7.984 kB / 0.679 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2233, allocations: 0 / 0.679 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.2256, allocations: 1.499 MB / 0.6805 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2256, allocations: 3.938 kB / 0.6805 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.2259, allocations: 63.94 kB / 0.6806 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/0.2266, allocations: 206.5 kB / 0.6808 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.2266, allocations: 12 kB / 0.6808 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/0.2314, allocations: 5.277 MB / 0.6859 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2314, allocations: 7.969 kB / 0.6859 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.2331, allocations: 1.128 MB / 0.687 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.2333, allocations: 180.6 kB / 0.6872 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.2334, allocations: 11.94 kB / 0.6872 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.2337, allocations: 31.95 kB / 0.6873 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.2338, allocations: 32.03 kB / 0.6873 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.2338, allocations: 12.19 kB / 0.6873 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003528/0.2342, allocations: 310.9 kB / 0.6876 GB, free: 11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2342, allocations: 0 / 0.6876 GB, free: 11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007695/0.235, allocations: 172 kB / 0.6878 GB, free: 10.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.2352, allocations: 111.2 kB / 0.6879 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.2368, allocations: 1.008 MB / 0.6888 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2368, allocations: 0 / 0.6888 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.2377, allocations: 0.6915 MB / 0.6895 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008507/0.2385, allocations: 186.8 kB / 0.6897 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2405, allocations: 1.255 MB / 0.6909 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.241, allocations: 0.9572 MB / 0.6919 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003325/0.2413, allocations: 113 kB / 0.692 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.2414, allocations: 43.36 kB / 0.692 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2414, allocations: 0 / 0.692 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of Templates: time 0.01521/0.2566, allocations: 8.959 MB / 0.7008 GB, free: 13.47 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)