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.001213/0.001214, allocations: 118.7 kB / 17.09 MB, free: 6 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.001224/0.001224, allocations: 196.1 kB / 18.02 MB, free: 5.082 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.08 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.167, allocations: 76.17 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007794/0.1749, allocations: 6.069 MB / 0.6387 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005644/0.1806, allocations: 3.153 MB / 0.6417 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009724/0.1816, allocations: 27.81 kB / 0.6418 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.1846, allocations: 0.9337 MB / 0.6427 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.1862, allocations: 473.5 kB / 0.6431 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1877, allocations: 482.3 kB / 0.6436 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.1894, allocations: 1.092 MB / 0.6447 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.1906, allocations: 0.6388 MB / 0.6453 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.1916, allocations: 438.4 kB / 0.6457 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/0.1926, allocations: 474.1 kB / 0.6462 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.1928, allocations: 56 kB / 0.6462 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.194, allocations: 498.9 kB / 0.6467 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.1944, allocations: 283.3 kB / 0.647 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007815/0.1952, allocations: 401.9 kB / 0.6473 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.1973, allocations: 1.172 MB / 0.6485 GB, free: 4.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1974, allocations: 0 / 0.6485 GB, free: 4.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1974, allocations: 0 / 0.6485 GB, free: 4.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.778e-05/0.1974, allocations: 0 / 0.6485 GB, free: 4.246 MB / 494.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.002619/0.2001, allocations: 1.056 MB / 0.6495 GB, free: 3.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2001, allocations: 12.03 kB / 0.6495 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.2019, allocations: 219.6 kB / 0.6497 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.203, allocations: 0.5805 MB / 0.6503 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.203, allocations: 45.67 kB / 0.6503 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.2032, allocations: 68.3 kB / 0.6504 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.2049, allocations: 1.03 MB / 0.6514 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.205, allocations: 15.83 kB / 0.6514 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.2051, allocations: 31.98 kB / 0.6515 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.647e-05/0.2052, allocations: 65.28 kB / 0.6515 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.2064, allocations: 0.6918 MB / 0.6522 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.2119, allocations: 5.729 MB / 0.6578 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.2128, allocations: 0.6015 MB / 0.6584 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.2136, allocations: 440.4 kB / 0.6588 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.2137, allocations: 4 kB / 0.6588 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2137, allocations: 43.19 kB / 0.6588 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.745e-06/0.2137, allocations: 4 kB / 0.6588 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004393/0.2181, allocations: 2.002 MB / 0.6608 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2182, allocations: 55.41 kB / 0.6609 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.2187, allocations: 462.7 kB / 0.6613 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.2188, allocations: 33.7 kB / 0.6613 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.2191, allocations: 383 kB / 0.6617 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2192, allocations: 149.8 kB / 0.6618 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.2194, allocations: 114.2 kB / 0.6619 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2196, allocations: 358.8 kB / 0.6623 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.2199, allocations: 245.2 kB / 0.6625 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.2204, allocations: 453 kB / 0.663 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009441/0.2213, allocations: 0.7516 MB / 0.6637 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2213, allocations: 4 kB / 0.6637 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001808/0.2231, allocations: 1.047 MB / 0.6647 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2232, allocations: 8 kB / 0.6647 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.2232, allocations: 8 kB / 0.6647 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/0.2242, allocations: 327.1 kB / 0.665 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.2245, allocations: 91.83 kB / 0.6651 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.2318, allocations: 7.482 MB / 0.6724 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.2322, allocations: 32.02 kB / 0.6725 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.2323, allocations: 27.98 kB / 0.6725 GB, free: 10.03 MB / 0.5137 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.000391/0.2327, allocations: 245.6 kB / 0.6727 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.2329, allocations: 59.28 kB / 0.6728 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.2345, allocations: 0.8882 MB / 0.6736 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2346, allocations: 4 kB / 0.6737 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.2346, allocations: 4 kB / 0.6737 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2346, allocations: 3.984 kB / 0.6737 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.2372, allocations: 1.673 MB / 0.6753 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2373, allocations: 0 / 0.6753 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.2374, allocations: 43.91 kB / 0.6753 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009721/0.2384, allocations: 307.3 kB / 0.6756 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.2385, allocations: 4.062 kB / 0.6756 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009033/0.2475, allocations: 7.479 MB / 0.6829 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.2475, allocations: 3.938 kB / 0.6829 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2494, allocations: 0.9912 MB / 0.6839 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.2498, allocations: 168.4 kB / 0.6841 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.2499, allocations: 12 kB / 0.6841 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.2504, allocations: 27.97 kB / 0.6841 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2505, allocations: 43.83 kB / 0.6841 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.2506, allocations: 12 kB / 0.6842 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000408/0.251, allocations: 306.9 kB / 0.6845 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.251, allocations: 0 / 0.6845 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009446/0.2519, allocations: 196 kB / 0.6846 GB, free: 12.83 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.0001984/0.2521, allocations: 115.1 kB / 0.6847 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.2542, allocations: 1.191 MB / 0.6859 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.2543, allocations: 8.188 kB / 0.6859 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.2556, allocations: 0.8539 MB / 0.6868 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2568, allocations: 210.6 kB / 0.687 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.2594, allocations: 1.28 MB / 0.6882 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/0.2604, allocations: 0.992 MB / 0.6892 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2605, allocations: 39.44 kB / 0.6892 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.2605, allocations: 0 / 0.6892 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of Templates: time 0.02788/0.2884, allocations: 18.47 MB / 0.7072 GB, free: 5.52 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)