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.001082/0.001082, allocations: 110.4 kB / 16.41 MB, free: 6.5 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.00105/0.00105, 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.326/1.326, allocations: 222.9 MB / 241 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.7574/0.7574, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 66.06 kB / 0.5685 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 77.93 MB / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007904/0.1569, allocations: 6.07 MB / 0.6505 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005622/0.1626, allocations: 3.145 MB / 0.6536 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.1634, allocations: 27.81 kB / 0.6536 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.166, allocations: 0.9347 MB / 0.6545 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.1676, allocations: 469.5 kB / 0.655 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.169, allocations: 493.8 kB / 0.6555 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1704, allocations: 1.092 MB / 0.6565 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009519/0.1714, allocations: 0.6466 MB / 0.6572 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.172, allocations: 438.3 kB / 0.6576 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.1726, allocations: 470.2 kB / 0.658 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.1727, allocations: 56 kB / 0.6581 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.1736, allocations: 487 kB / 0.6585 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.1739, allocations: 283.3 kB / 0.6588 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.1743, allocations: 401.9 kB / 0.6592 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1757, allocations: 1.179 MB / 0.6603 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1757, allocations: 0 / 0.6603 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1757, allocations: 4 kB / 0.6603 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.1758, allocations: 0 / 0.6603 GB, free: 8.824 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001713/0.1775, allocations: 1.074 MB / 0.6614 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1775, allocations: 12.62 kB / 0.6614 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.179, allocations: 228.1 kB / 0.6616 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.1799, allocations: 0.581 MB / 0.6622 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.18, allocations: 49.67 kB / 0.6622 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1801, allocations: 64.31 kB / 0.6623 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1815, allocations: 1.03 MB / 0.6633 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.1816, allocations: 11.92 kB / 0.6633 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.1816, allocations: 27.98 kB / 0.6633 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.594e-05/0.1817, allocations: 69.28 kB / 0.6634 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009863/0.1827, allocations: 0.6918 MB / 0.6641 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.1874, allocations: 5.745 MB / 0.6697 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.1882, allocations: 0.5982 MB / 0.6703 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/0.1891, allocations: 436.6 kB / 0.6707 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.1891, allocations: 4 kB / 0.6707 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1891, allocations: 34.56 kB / 0.6707 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.194e-06/0.1892, allocations: 0 / 0.6707 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.00432/0.1935, allocations: 2.019 MB / 0.6727 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.1935, allocations: 59.39 kB / 0.6728 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.194, allocations: 474.6 kB / 0.6732 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1941, allocations: 29.7 kB / 0.6732 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.1943, allocations: 400.1 kB / 0.6736 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1944, allocations: 154.7 kB / 0.6738 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1946, allocations: 106.3 kB / 0.6739 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1947, allocations: 362.8 kB / 0.6742 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.1951, allocations: 245.2 kB / 0.6745 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.1956, allocations: 457 kB / 0.6749 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000854/0.1964, allocations: 0.7517 MB / 0.6756 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1964, allocations: 3.938 kB / 0.6756 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001708/0.1981, allocations: 1.05 MB / 0.6767 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1982, allocations: 8 kB / 0.6767 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1982, allocations: 8 kB / 0.6767 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009484/0.1991, allocations: 319.8 kB / 0.677 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.1994, allocations: 91.89 kB / 0.6771 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006635/0.2061, allocations: 7.482 MB / 0.6844 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.2065, allocations: 36.02 kB / 0.6844 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.2066, allocations: 24.19 kB / 0.6844 GB, free: 14.54 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 (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.0003101/0.2069, allocations: 245.1 kB / 0.6847 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/0.207, allocations: 59.61 kB / 0.6847 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.2086, allocations: 0.8883 MB / 0.6856 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2086, allocations: 12 kB / 0.6856 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2086, allocations: 4 kB / 0.6856 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2086, allocations: 3.984 kB / 0.6856 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.211, allocations: 1.669 MB / 0.6872 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.211, allocations: 0 / 0.6872 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.2112, allocations: 44.09 kB / 0.6873 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008785/0.2121, allocations: 319 kB / 0.6876 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.2121, allocations: 8 kB / 0.6876 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006505/0.2187, allocations: 7.471 MB / 0.6949 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2187, allocations: 7.922 kB / 0.6949 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.2202, allocations: 0.9916 MB / 0.6959 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.2204, allocations: 172.7 kB / 0.696 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.2205, allocations: 8 kB / 0.696 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.2208, allocations: 23.97 kB / 0.696 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.2209, allocations: 39.83 kB / 0.6961 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.2209, allocations: 20 kB / 0.6961 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003992/0.2213, allocations: 306.9 kB / 0.6964 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2213, allocations: 0 / 0.6964 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008431/0.2222, allocations: 196 kB / 0.6966 GB, free: 1.336 MB / 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 (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.0001828/0.2224, allocations: 107.1 kB / 0.6967 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.2242, allocations: 1.209 MB / 0.6979 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2242, allocations: 0 / 0.6979 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.2253, allocations: 0.8579 MB / 0.6987 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.2263, allocations: 210.2 kB / 0.6989 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2281, allocations: 1.225 MB / 0.7001 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.2287, allocations: 0.996 MB / 0.7011 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.229, allocations: 93.28 kB / 0.7012 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.2291, allocations: 39.44 kB / 0.7012 GB, free: 12.42 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.2291, allocations: 0 / 0.7012 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Templates: time 0.01597/0.2451, allocations: 9.963 MB / 0.7109 GB, free: 2.551 MB / 0.545 GB 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)