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.001293/0.001293, allocations: 104.4 kB / 16.94 MB, free: 5.781 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.001347/0.001347, allocations: 191.6 kB / 17.87 MB, free: 5.16 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.396/1.396, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8104/0.8104, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 0.4948 GB, free: 4.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.359, allocations: 78.56 MB / 0.5715 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02126/0.3803, allocations: 23.39 MB / 0.5944 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.3908, allocations: 6.484 MB / 0.6007 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.3936, allocations: 95.47 kB / 0.6008 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.3977, allocations: 1.502 MB / 0.6023 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.4024, allocations: 1.828 MB / 0.604 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.4061, allocations: 1.455 MB / 0.6055 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007367/0.4135, allocations: 6.915 MB / 0.6122 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.4253, allocations: 7.002 MB / 0.6191 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005132/0.4304, allocations: 2.832 MB / 0.6218 GB, free: 3.902 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006023/0.4365, allocations: 3.478 MB / 0.6252 GB, free: 424 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.4382, allocations: 0.5274 MB / 0.6257 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.442, allocations: 1.174 MB / 0.6269 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004393/0.4464, allocations: 2.468 MB / 0.6293 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006048/0.4524, allocations: 2.528 MB / 0.6318 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.4638, allocations: 8.472 MB / 0.64 GB, free: 1.203 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.4638, allocations: 0 / 0.64 GB, free: 1.203 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4639, allocations: 0 / 0.64 GB, free: 1.203 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002571/0.4641, allocations: 0 / 0.64 GB, free: 1.203 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.01228/0.4764, allocations: 4.428 MB / 0.6444 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4765, allocations: 16.62 kB / 0.6444 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00951/0.486, allocations: 1.673 MB / 0.646 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/0.492, allocations: 2.579 MB / 0.6485 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.4924, allocations: 275.7 kB / 0.6488 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.4939, allocations: 364.3 kB / 0.6491 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.5103, allocations: 7.483 MB / 0.6564 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.5105, allocations: 15.98 kB / 0.6565 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.5115, allocations: 163.8 kB / 0.6566 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006835/0.5122, allocations: 483.4 kB / 0.6571 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.5246, allocations: 5.697 MB / 0.6626 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04619/0.5709, allocations: 31.71 MB / 0.6936 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.5744, allocations: 2.102 MB / 0.6956 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/0.5781, allocations: 2.178 MB / 0.6978 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.5784, allocations: 13.31 kB / 0.6978 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.5784, allocations: 47.88 kB / 0.6978 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 4.328e-06/0.5785, allocations: 0 / 0.6978 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.6022/1.181, allocations: 77 MB / 0.773 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.181, allocations: 79.88 kB / 0.7731 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/1.183, allocations: 1.662 MB / 0.7747 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000379/1.183, allocations: 65.7 kB / 0.7748 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/1.184, allocations: 1.754 MB / 0.7765 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007687/1.185, allocations: 0.8502 MB / 0.7773 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.186, allocations: 481.2 kB / 0.7778 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/1.186, allocations: 309.1 kB / 0.7781 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.189, allocations: 2.726 MB / 0.7807 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/1.192, allocations: 3.335 MB / 0.784 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006359/1.198, allocations: 6.396 MB / 0.7903 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/1.198, allocations: 11.94 kB / 0.7903 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02786/1.226, allocations: 14.68 MB / 0.8046 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/1.226, allocations: 15.38 kB / 0.8046 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/1.226, allocations: 16 kB / 0.8046 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02646/1.253, allocations: 9.294 MB / 0.8137 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.254, allocations: 295.5 kB / 0.814 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06706/1.321, allocations: 52.39 MB / 0.8651 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.324, allocations: 231.7 kB / 0.8654 GB, free: 54.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/1.325, allocations: 96 kB / 0.8655 GB, free: 54.27 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.002781/1.328, allocations: 1.582 MB / 0.867 GB, free: 52.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007703/1.328, allocations: 245.1 kB / 0.8672 GB, free: 52.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0285/1.357, allocations: 14.76 MB / 0.8817 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/1.357, allocations: 28 kB / 0.8817 GB, free: 37.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001649/1.357, allocations: 44 kB / 0.8817 GB, free: 37.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/1.357, allocations: 11.95 kB / 0.8817 GB, free: 37.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03941/1.397, allocations: 20.51 MB / 0.9018 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/1.397, allocations: 4 kB / 0.9018 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/1.398, allocations: 167.7 kB / 0.9019 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02657/1.424, allocations: 9.057 MB / 0.9108 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006492/1.425, allocations: 51.98 kB / 0.9108 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09011/1.515, allocations: 51.96 MB / 0.9616 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/1.515, allocations: 11.12 kB / 0.9616 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0367/1.552, allocations: 14.36 MB / 0.9756 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/1.554, allocations: 0.8454 MB / 0.9764 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009659/1.555, allocations: 52.22 kB / 0.9765 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.558, allocations: 207.7 kB / 0.9767 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001575/1.56, allocations: 241.5 kB / 0.9769 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003719/1.56, allocations: 71.94 kB / 0.977 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00227/1.562, allocations: 1.121 MB / 0.9781 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/1.562, allocations: 0 / 0.9781 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006666/1.569, allocations: 1.613 MB / 0.9796 GB, free: 84 kB / 0.6387 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.0006907/1.57, allocations: 172 kB / 0.9798 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02768/1.598, allocations: 11.32 MB / 0.9909 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/1.598, allocations: 4.188 kB / 0.9909 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.2833/1.881, allocations: 7.3 MB / 0.998 GB, free: 219.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/1.885, allocations: 0.549 MB / 0.9985 GB, free: 219.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/1.905, allocations: 9.41 MB / 1.008 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00508/1.91, allocations: 3.294 MB / 1.011 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/1.911, allocations: 112.7 kB / 1.011 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/1.911, allocations: 0 / 1.011 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.1458/2.057, allocations: 187.6 MB / 1.194 GB, free: 43.35 MB / 0.6544 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)