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.001377/0.001377, allocations: 111.6 kB / 16.64 MB, free: 6.371 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.00131/0.00131, allocations: 189.4 kB / 17.56 MB, free: 5.797 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.4/1.4, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8201/0.8201, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 67.89 kB / 0.4943 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3556, allocations: 78.56 MB / 0.571 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02033/0.376, allocations: 23.2 MB / 0.5937 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.3857, allocations: 6.445 MB / 0.6 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.388, allocations: 82.72 kB / 0.6 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.3915, allocations: 1.365 MB / 0.6014 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.3956, allocations: 1.706 MB / 0.603 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.3988, allocations: 1.339 MB / 0.6044 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006632/0.4054, allocations: 6.941 MB / 0.6111 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.419, allocations: 8.132 MB / 0.6191 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.4242, allocations: 2.882 MB / 0.6219 GB, free: 3.523 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006173/0.4304, allocations: 3.689 MB / 0.6255 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.4322, allocations: 0.5273 MB / 0.626 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.4356, allocations: 1.182 MB / 0.6272 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004086/0.4397, allocations: 2.472 MB / 0.6296 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005406/0.4452, allocations: 2.536 MB / 0.6321 GB, free: 9.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009484/0.4547, allocations: 7.23 MB / 0.6391 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4547, allocations: 0 / 0.6391 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4547, allocations: 0 / 0.6391 GB, free: 1.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002497/0.455, allocations: 4 kB / 0.6391 GB, free: 1.84 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.01181/0.4668, allocations: 4.43 MB / 0.6434 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4669, allocations: 12.62 kB / 0.6435 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009627/0.4765, allocations: 1.685 MB / 0.6451 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/0.4821, allocations: 2.571 MB / 0.6476 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.4824, allocations: 279.7 kB / 0.6479 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.4838, allocations: 356.3 kB / 0.6482 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.5007, allocations: 7.483 MB / 0.6555 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.5009, allocations: 23.8 kB / 0.6555 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.5021, allocations: 159.9 kB / 0.6557 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007671/0.5029, allocations: 487.4 kB / 0.6562 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.5151, allocations: 5.693 MB / 0.6617 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04445/0.5596, allocations: 31.71 MB / 0.6927 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.5631, allocations: 2.09 MB / 0.6947 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/0.5668, allocations: 2.178 MB / 0.6969 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.567, allocations: 21.3 kB / 0.6969 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.5671, allocations: 43.88 kB / 0.6969 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 4.138e-06/0.5671, allocations: 0 / 0.6969 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5476/1.115, allocations: 77 MB / 0.7721 GB, free: 150 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.115, allocations: 76.34 kB / 0.7722 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/1.117, allocations: 1.666 MB / 0.7738 GB, free: 149 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/1.117, allocations: 68.39 kB / 0.7739 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007072/1.118, allocations: 1.743 MB / 0.7756 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/1.119, allocations: 0.8516 MB / 0.7764 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009024/1.119, allocations: 490 kB / 0.7769 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/1.12, allocations: 305.1 kB / 0.7772 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/1.122, allocations: 2.726 MB / 0.7798 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.125, allocations: 3.328 MB / 0.7831 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/1.132, allocations: 6.395 MB / 0.7893 GB, free: 133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/1.132, allocations: 8.812 kB / 0.7893 GB, free: 133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02718/1.159, allocations: 14.69 MB / 0.8037 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.159, allocations: 12 kB / 0.8037 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.159, allocations: 16 kB / 0.8037 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02549/1.185, allocations: 9.297 MB / 0.8128 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.186, allocations: 295.5 kB / 0.8131 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06277/1.248, allocations: 52.39 MB / 0.8642 GB, free: 55.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/1.251, allocations: 223.7 kB / 0.8644 GB, free: 55.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/1.252, allocations: 100.1 kB / 0.8645 GB, free: 55.06 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.002188/1.254, allocations: 1.578 MB / 0.8661 GB, free: 53.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/1.254, allocations: 245.1 kB / 0.8663 GB, free: 53.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03382/1.288, allocations: 14.77 MB / 0.8807 GB, free: 38.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/1.288, allocations: 24 kB / 0.8808 GB, free: 38.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001611/1.288, allocations: 47.19 kB / 0.8808 GB, free: 38.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.318e-05/1.288, allocations: 11.95 kB / 0.8808 GB, free: 38.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05282/1.341, allocations: 20.5 MB / 0.9008 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/1.341, allocations: 4.844 kB / 0.9009 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.342, allocations: 163.7 kB / 0.901 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02955/1.372, allocations: 9.061 MB / 0.9099 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000454/1.372, allocations: 52 kB / 0.9099 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08326/1.456, allocations: 51.96 MB / 0.9607 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.456, allocations: 11.94 kB / 0.9607 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03416/1.49, allocations: 14.35 MB / 0.9747 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.492, allocations: 0.8493 MB / 0.9755 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006895/1.493, allocations: 56.17 kB / 0.9756 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.495, allocations: 207.7 kB / 0.9758 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001381/1.496, allocations: 241.5 kB / 0.976 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002505/1.497, allocations: 71.94 kB / 0.9761 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001817/1.499, allocations: 1.125 MB / 0.9772 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.499, allocations: 0 / 0.9772 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005598/1.504, allocations: 1.613 MB / 0.9787 GB, free: 0.8633 MB / 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.0005525/1.505, allocations: 167 kB / 0.9789 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02597/1.531, allocations: 11.33 MB / 0.99 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.531, allocations: 4 kB / 0.99 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.2989/1.83, allocations: 7.296 MB / 0.9971 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/1.833, allocations: 0.554 MB / 0.9976 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.85, allocations: 11.24 MB / 1.009 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003846/1.853, allocations: 3.299 MB / 1.012 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/1.854, allocations: 109.6 kB / 1.012 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/1.854, allocations: 0 / 1.012 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1429/1.997, allocations: 187.6 MB / 1.195 GB, free: 42.19 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)