Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.001971, allocations: 104 kB / 16.52 MB, free: 6.27 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.001859/0.001859, allocations: 196 kB / 17.44 MB, free: 5.887 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6932/0.6932, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.89 kB / 493.6 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3447, allocations: 76.17 MB / 0.5564 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02131/0.3661, allocations: 23.21 MB / 0.5791 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3774, allocations: 6.498 MB / 0.5854 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.3807, allocations: 86 kB / 0.5855 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.3849, allocations: 1.354 MB / 0.5868 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005593/0.3905, allocations: 1.744 MB / 0.5885 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.3947, allocations: 1.333 MB / 0.5898 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4057, allocations: 10.61 MB / 0.6002 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009194/0.415, allocations: 7.609 MB / 0.6076 GB, free: 244 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.4199, allocations: 2.409 MB / 0.61 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006044/0.426, allocations: 3.614 MB / 0.6135 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.4276, allocations: 380 kB / 0.6138 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.4314, allocations: 1.194 MB / 0.615 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003833/0.4352, allocations: 2.315 MB / 0.6173 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005496/0.4408, allocations: 2.349 MB / 0.6196 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008739/0.4495, allocations: 7.194 MB / 0.6266 GB, free: 12.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4496, allocations: 3.938 kB / 0.6266 GB, free: 12.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4496, allocations: 0 / 0.6266 GB, free: 12.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.4499, allocations: 0 / 0.6266 GB, free: 12.73 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01245/0.4623, allocations: 4.42 MB / 0.6309 GB, free: 8.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4624, allocations: 12.03 kB / 0.6309 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009241/0.4717, allocations: 1.677 MB / 0.6326 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.4776, allocations: 2.583 MB / 0.6351 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.4779, allocations: 275.7 kB / 0.6353 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/0.4794, allocations: 364.2 kB / 0.6357 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4964, allocations: 7.487 MB / 0.643 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/0.4966, allocations: 15.88 kB / 0.643 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/0.498, allocations: 159.9 kB / 0.6432 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006922/0.4987, allocations: 487.3 kB / 0.6436 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.5103, allocations: 5.701 MB / 0.6492 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03996/0.5504, allocations: 31.71 MB / 0.6802 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.5538, allocations: 2.099 MB / 0.6822 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/0.5572, allocations: 2.174 MB / 0.6844 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.5575, allocations: 17.31 kB / 0.6844 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.5575, allocations: 51.81 kB / 0.6844 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/0.5576, allocations: 0 / 0.6844 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5488/1.106, allocations: 77 MB / 0.7596 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/1.106, allocations: 80.62 kB / 0.7597 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/1.109, allocations: 1.67 MB / 0.7613 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000534/1.11, allocations: 65.23 kB / 0.7614 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009897/1.111, allocations: 1.742 MB / 0.7631 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008798/1.112, allocations: 0.8533 MB / 0.7639 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.113, allocations: 486.9 kB / 0.7644 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/1.113, allocations: 303.3 kB / 0.7647 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/1.117, allocations: 2.729 MB / 0.7673 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/1.121, allocations: 3.33 MB / 0.7706 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008338/1.129, allocations: 6.398 MB / 0.7768 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/1.129, allocations: 5.875 kB / 0.7768 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03108/1.16, allocations: 14.68 MB / 0.7912 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/1.16, allocations: 12.59 kB / 0.7912 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/1.161, allocations: 18.67 kB / 0.7912 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02626/1.187, allocations: 9.248 MB / 0.8002 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.188, allocations: 299.5 kB / 0.8005 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06279/1.251, allocations: 47.44 MB / 0.8468 GB, free: 84.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/1.254, allocations: 223.7 kB / 0.8471 GB, free: 84.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/1.254, allocations: 99.98 kB / 0.8471 GB, free: 84.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00289/1.257, allocations: 1.582 MB / 0.8487 GB, free: 82.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008565/1.258, allocations: 252.5 kB / 0.8489 GB, free: 82.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/1.286, allocations: 14.75 MB / 0.8633 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.286, allocations: 24.8 kB / 0.8634 GB, free: 67.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001458/1.287, allocations: 44 kB / 0.8634 GB, free: 67.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-05/1.287, allocations: 14.8 kB / 0.8634 GB, free: 67.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/1.324, allocations: 20.52 MB / 0.8835 GB, free: 46.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/1.324, allocations: 4 kB / 0.8835 GB, free: 46.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/1.325, allocations: 167.8 kB / 0.8836 GB, free: 46.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02574/1.351, allocations: 9.005 MB / 0.8924 GB, free: 37.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005382/1.351, allocations: 51.94 kB / 0.8925 GB, free: 37.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06239/1.414, allocations: 47.02 MB / 0.9384 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.414, allocations: 11.92 kB / 0.9384 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03103/1.445, allocations: 14.37 MB / 0.9524 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.447, allocations: 0.8416 MB / 0.9532 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006988/1.448, allocations: 51.98 kB / 0.9533 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.45, allocations: 203.7 kB / 0.9535 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/1.451, allocations: 241.5 kB / 0.9537 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.451, allocations: 64 kB / 0.9538 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001646/1.453, allocations: 1.133 MB / 0.9549 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/1.453, allocations: 0 / 0.9549 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005319/1.458, allocations: 1.609 MB / 0.9565 GB, free: 3.207 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000465/1.459, allocations: 169.6 kB / 0.9566 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02189/1.481, allocations: 10.52 MB / 0.9669 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.481, allocations: 3.938 kB / 0.9669 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01707/1.498, allocations: 7.316 MB / 0.974 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.502, allocations: 0.5209 MB / 0.9746 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.52, allocations: 11.24 MB / 0.9855 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2636/1.784, allocations: 3.294 MB / 0.9888 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/1.785, allocations: 108 kB / 0.9889 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.253e-06/1.785, allocations: 0.875 kB / 0.9889 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.1681/1.953, allocations: 187.6 MB / 1.172 GB, free: 52.66 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)