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.001045/0.001045, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001062/0.001062, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7495/0.7495, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 65.48 kB / 0.5685 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 77.94 MB / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007862/0.1566, allocations: 6.71 MB / 0.6512 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00504/0.1617, allocations: 3.036 MB / 0.6541 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.1623, allocations: 23.88 kB / 0.6541 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.1648, allocations: 0.9551 MB / 0.6551 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.1663, allocations: 0.5012 MB / 0.6556 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1676, allocations: 429.3 kB / 0.656 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.1693, allocations: 1.236 MB / 0.6572 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.1703, allocations: 0.6544 MB / 0.6578 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.1709, allocations: 478.3 kB / 0.6583 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.1716, allocations: 0.5136 MB / 0.6588 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.1718, allocations: 68 kB / 0.6588 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.1726, allocations: 375.3 kB / 0.6592 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.173, allocations: 315.2 kB / 0.6595 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.1734, allocations: 453.7 kB / 0.6599 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.175, allocations: 1.218 MB / 0.6611 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.175, allocations: 4 kB / 0.6611 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.175, allocations: 0 / 0.6611 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.175, allocations: 0 / 0.6611 GB, free: 8.016 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00193/0.177, allocations: 1.179 MB / 0.6623 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.177, allocations: 8.625 kB / 0.6623 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.1785, allocations: 240.1 kB / 0.6625 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.1794, allocations: 0.6042 MB / 0.6631 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.1795, allocations: 53.67 kB / 0.6632 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1796, allocations: 64.38 kB / 0.6632 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.1812, allocations: 1.085 MB / 0.6643 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.1812, allocations: 7.938 kB / 0.6643 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.1813, allocations: 31.98 kB / 0.6643 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.1815, allocations: 89.19 kB / 0.6644 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1826, allocations: 0.7504 MB / 0.6651 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005296/0.1879, allocations: 5.871 MB / 0.6709 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.189, allocations: 0.5632 MB / 0.6714 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.1894, allocations: 326 kB / 0.6717 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.1895, allocations: 8.438 kB / 0.6717 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.1895, allocations: 38.98 kB / 0.6718 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.1895, allocations: 0 / 0.6718 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004047/0.1936, allocations: 1.991 MB / 0.6737 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1936, allocations: 59.84 kB / 0.6738 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.1944, allocations: 0.5624 MB / 0.6743 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1944, allocations: 41.7 kB / 0.6744 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.1947, allocations: 428 kB / 0.6748 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1948, allocations: 178.5 kB / 0.6749 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.195, allocations: 126.6 kB / 0.6751 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1952, allocations: 378.7 kB / 0.6754 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.1956, allocations: 273.8 kB / 0.6757 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.1962, allocations: 493 kB / 0.6762 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1973, allocations: 0.8094 MB / 0.6769 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1973, allocations: 3.938 kB / 0.677 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001868/0.1992, allocations: 1.088 MB / 0.678 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1992, allocations: 12 kB / 0.678 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1993, allocations: 11.98 kB / 0.678 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008225/0.2001, allocations: 275.1 kB / 0.6783 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.2006, allocations: 123.8 kB / 0.6784 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/0.2076, allocations: 7.142 MB / 0.6854 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.2082, allocations: 36.16 kB / 0.6854 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.2083, allocations: 35.98 kB / 0.6855 GB, free: 13.52 MB / 0.5294 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 (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.0004445/0.2087, allocations: 253.5 kB / 0.6857 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2088, allocations: 79.53 kB / 0.6858 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.2104, allocations: 0.8886 MB / 0.6866 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2104, allocations: 8 kB / 0.6867 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2104, allocations: 4 kB / 0.6867 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2104, allocations: 0 / 0.6867 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.213, allocations: 1.728 MB / 0.6883 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2131, allocations: 0 / 0.6883 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2133, allocations: 63.89 kB / 0.6884 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/0.2141, allocations: 267.2 kB / 0.6887 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.2141, allocations: 12 kB / 0.6887 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006329/0.2205, allocations: 7.118 MB / 0.6956 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.2205, allocations: 4.031 kB / 0.6956 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.222, allocations: 0.9881 MB / 0.6966 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.2223, allocations: 196.5 kB / 0.6968 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.2223, allocations: 12.19 kB / 0.6968 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.2227, allocations: 35.91 kB / 0.6968 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2228, allocations: 47.88 kB / 0.6969 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.2229, allocations: 16 kB / 0.6969 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004367/0.2233, allocations: 383.1 kB / 0.6973 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2233, allocations: 0 / 0.6973 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007866/0.2241, allocations: 224 kB / 0.6975 GB, free: 484 kB / 0.5294 GB 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.0001523/0.2243, allocations: 115.2 kB / 0.6976 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.2261, allocations: 1.271 MB / 0.6988 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2262, allocations: 4.062 kB / 0.6988 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.2273, allocations: 0.897 MB / 0.6997 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.2283, allocations: 220.2 kB / 0.6999 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.2303, allocations: 1.34 MB / 0.7012 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.2309, allocations: 1.013 MB / 0.7022 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000322/0.2313, allocations: 126 kB / 0.7023 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2314, allocations: 43.44 kB / 0.7024 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2314, allocations: 3.938 kB / 0.7024 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Templates: time 0.01704/0.2484, allocations: 11.3 MB / 0.7134 GB, free: 80 kB / 0.545 GB 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)