Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 99.55 kB / 15.98 MB, free: 6.352 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.002208/0.002208, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7453/0.7453, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.4906 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3894, allocations: 77.93 MB / 0.5667 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01084/0.4003, allocations: 10.04 MB / 0.5765 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.4058, allocations: 3.156 MB / 0.5796 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/0.4067, allocations: 28.03 kB / 0.5797 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.4084, allocations: 0.5394 MB / 0.5802 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.4104, allocations: 0.6891 MB / 0.5809 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4122, allocations: 0.6879 MB / 0.5815 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.4161, allocations: 2.998 MB / 0.5845 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00504/0.4211, allocations: 3.088 MB / 0.5875 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.4243, allocations: 1.259 MB / 0.5887 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003714/0.4281, allocations: 1.655 MB / 0.5903 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008866/0.429, allocations: 235.2 kB / 0.5905 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.4314, allocations: 0.5 MB / 0.591 GB, free: 17.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00237/0.4338, allocations: 1.073 MB / 0.5921 GB, free: 16.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.4363, allocations: 1.117 MB / 0.5932 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.4395, allocations: 3.685 MB / 0.5968 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4395, allocations: 0 / 0.5968 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4396, allocations: 3.938 kB / 0.5968 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.235e-05/0.4396, allocations: 0 / 0.5968 GB, free: 12.18 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003864/0.4435, allocations: 2.146 MB / 0.5989 GB, free: 9.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4435, allocations: 12.03 kB / 0.5989 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007913/0.4515, allocations: 1.309 MB / 0.6002 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.4538, allocations: 1.251 MB / 0.6014 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.4539, allocations: 115.4 kB / 0.6015 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.4543, allocations: 152.3 kB / 0.6016 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/0.4586, allocations: 3.441 MB / 0.605 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.4587, allocations: 7.844 kB / 0.605 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.4589, allocations: 63.97 kB / 0.6051 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.4591, allocations: 203.1 kB / 0.6053 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.4629, allocations: 3.124 MB / 0.6083 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.4802, allocations: 13.62 MB / 0.6216 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.4828, allocations: 1.728 MB / 0.6233 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.4848, allocations: 1.44 MB / 0.6247 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.485, allocations: 9 kB / 0.6247 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.485, allocations: 55.48 kB / 0.6248 GB, free: 14.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/0.485, allocations: 0 / 0.6248 GB, free: 14.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=183): time 0.136/0.621, allocations: 36.66 MB / 0.6606 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.6212, allocations: 69.41 kB / 0.6606 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.6228, allocations: 1.05 MB / 0.6617 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002957/0.6231, allocations: 57.7 kB / 0.6617 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.6237, allocations: 0.7912 MB / 0.6625 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007878/0.6245, allocations: 0.6238 MB / 0.6631 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.6256, allocations: 367.3 kB / 0.6634 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6257, allocations: 301.1 kB / 0.6637 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.6286, allocations: 1.928 MB / 0.6656 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.6318, allocations: 2.285 MB / 0.6678 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006672/0.6385, allocations: 4.395 MB / 0.6721 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.6385, allocations: 8 kB / 0.6721 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02051/0.659, allocations: 9.012 MB / 0.6809 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.6591, allocations: 11.94 kB / 0.681 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.6591, allocations: 15.94 kB / 0.681 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01734/0.6765, allocations: 5.008 MB / 0.6859 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/0.6774, allocations: 187.7 kB / 0.686 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05945/0.7369, allocations: 38.93 MB / 0.7241 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.7389, allocations: 99.89 kB / 0.7241 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.7393, allocations: 71.98 kB / 0.7242 GB, free: 7.469 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001558/0.7408, allocations: 0.8095 MB / 0.725 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.7413, allocations: 138.3 kB / 0.7251 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/0.7617, allocations: 8.886 MB / 0.7338 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.7618, allocations: 20 kB / 0.7338 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.633e-05/0.7619, allocations: 32 kB / 0.7339 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.7619, allocations: 7.969 kB / 0.7339 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/0.7904, allocations: 13.3 MB / 0.7469 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/0.7905, allocations: 8.031 kB / 0.7469 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2691/1.06, allocations: 115.5 kB / 0.747 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/1.078, allocations: 4.793 MB / 0.7517 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/1.078, allocations: 35.41 kB / 0.7517 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05157/1.129, allocations: 34.87 MB / 0.7857 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.13, allocations: 3.969 kB / 0.7858 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.147, allocations: 8.393 MB / 0.7939 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.148, allocations: 0.6184 MB / 0.7946 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/1.149, allocations: 39.34 kB / 0.7946 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.15, allocations: 91.88 kB / 0.7947 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000942/1.151, allocations: 161.7 kB / 0.7948 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.151, allocations: 44 kB / 0.7949 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009039/1.152, allocations: 0.7417 MB / 0.7956 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.152, allocations: 0 / 0.7956 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00327/1.155, allocations: 1.004 MB / 0.7966 GB, free: 130.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000338/1.156, allocations: 150.1 kB / 0.7967 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009623/1.165, allocations: 6.693 MB / 0.8033 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.165, allocations: 0 / 0.8033 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006952/1.172, allocations: 3.845 MB / 0.807 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/1.175, allocations: 241.7 kB / 0.8072 GB, free: 120 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/1.183, allocations: 5.802 MB / 0.8129 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/1.184, allocations: 1.859 MB / 0.8147 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009653/1.185, allocations: 350.2 kB / 0.8151 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/1.186, allocations: 67.42 kB / 0.8151 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.186, allocations: 0 / 0.8151 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06814/1.254, allocations: 59.84 MB / 0.8736 GB, free: 52.18 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)