Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005861/0.005867, allocations: 104.4 kB / 15.73 MB, free: 6.477 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.001637/0.001637, allocations: 193.4 kB / 16.67 MB, free: 6.379 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 270.7 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 99.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1724, allocations: 86.99 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.3344/0.5069, allocations: 14.02 MB / 0.7801 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.5184, allocations: 9.396 MB / 0.7893 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5195, allocations: 62.78 kB / 0.7893 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.5233, allocations: 1.663 MB / 0.7909 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.527, allocations: 1.584 MB / 0.7925 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.5288, allocations: 0.7508 MB / 0.7932 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00295/0.5317, allocations: 2.529 MB / 0.7957 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.5337, allocations: 1.408 MB / 0.7971 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.5354, allocations: 1.078 MB / 0.7981 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.5372, allocations: 1.138 MB / 0.7992 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.5375, allocations: 164.3 kB / 0.7994 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.5389, allocations: 0.7931 MB / 0.8002 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006419/0.5396, allocations: 0.6129 MB / 0.8008 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.5406, allocations: 0.9531 MB / 0.8017 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.5441, allocations: 2.749 MB / 0.8044 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5442, allocations: 1.469 kB / 0.8044 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5442, allocations: 0 / 0.8044 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.561e-05/0.5442, allocations: 0.5 kB / 0.8044 GB, free: 12.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004155/0.5484, allocations: 2.14 MB / 0.8065 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5484, allocations: 9.844 kB / 0.8065 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.5593, allocations: 2.085 MB / 0.8085 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.5621, allocations: 1.293 MB / 0.8098 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.5622, allocations: 90.55 kB / 0.8099 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.5625, allocations: 119.9 kB / 0.81 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.5679, allocations: 2.682 MB / 0.8126 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.568, allocations: 7.094 kB / 0.8126 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.5682, allocations: 59.27 kB / 0.8127 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005323/0.5687, allocations: 181.1 kB / 0.8128 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/0.5756, allocations: 2.794 MB / 0.8156 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.5898, allocations: 10.48 MB / 0.8258 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/0.5961, allocations: 2.517 MB / 0.8282 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.5991, allocations: 1.287 MB / 0.8295 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.5992, allocations: 9.844 kB / 0.8295 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5992, allocations: 49.77 kB / 0.8296 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.324e-06/0.5992, allocations: 0 / 0.8296 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04331/0.6425, allocations: 13.36 MB / 0.8426 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.6426, allocations: 64.72 kB / 0.8427 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.6442, allocations: 1.109 MB / 0.8437 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.6443, allocations: 49.7 kB / 0.8438 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.6449, allocations: 0.7194 MB / 0.8445 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.6453, allocations: 453.3 kB / 0.8449 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/0.6459, allocations: 267.4 kB / 0.8452 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.646, allocations: 361.9 kB / 0.8455 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.6491, allocations: 1.346 MB / 0.8468 GB, free: 212 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/0.6524, allocations: 1.596 MB / 0.8484 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/0.6587, allocations: 2.987 MB / 0.8513 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6588, allocations: 4 kB / 0.8513 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01084/0.6696, allocations: 4.442 MB / 0.8557 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6696, allocations: 12.81 kB / 0.8557 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6697, allocations: 4 kB / 0.8557 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/0.6749, allocations: 1.438 MB / 0.8571 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.6767, allocations: 443.2 kB / 0.8575 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02652/0.7032, allocations: 26.68 MB / 0.8836 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.7056, allocations: 303.6 kB / 0.8838 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.7059, allocations: 67.91 kB / 0.8839 GB, free: 8.141 MB / 0.6387 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009212/0.7068, allocations: 440.6 kB / 0.8843 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/0.7072, allocations: 166 kB / 0.8845 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.7182, allocations: 4.453 MB / 0.8888 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7182, allocations: 12 kB / 0.8889 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/0.7182, allocations: 15.98 kB / 0.8889 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.7183, allocations: 3.984 kB / 0.8889 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.7328, allocations: 6.768 MB / 0.8955 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7328, allocations: 4 kB / 0.8955 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.7344, allocations: 383.6 kB / 0.8959 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/0.7391, allocations: 1.303 MB / 0.8971 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.7392, allocations: 39.91 kB / 0.8972 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/0.7635, allocations: 25.49 MB / 0.9221 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.7635, allocations: 4.031 kB / 0.9221 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.7736, allocations: 4.206 MB / 0.9262 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.7746, allocations: 466.8 kB / 0.9266 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.775, allocations: 24 kB / 0.9266 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.7769, allocations: 303.5 kB / 0.9269 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.7773, allocations: 128.7 kB / 0.927 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.7774, allocations: 51.95 kB / 0.9271 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001032/0.7785, allocations: 0.7487 MB / 0.9278 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7785, allocations: 0 / 0.9278 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002014/0.7805, allocations: 0.5703 MB / 0.9284 GB, free: 8.383 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002749/0.7808, allocations: 143.1 kB / 0.9285 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0102/0.791, allocations: 5.134 MB / 0.9335 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.791, allocations: 4 kB / 0.9335 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/0.7973, allocations: 3.499 MB / 0.937 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.7996, allocations: 0.5597 MB / 0.9375 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008209/0.8078, allocations: 3.967 MB / 0.9414 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.8092, allocations: 1.477 MB / 0.9428 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001361/0.8106, allocations: 429.6 kB / 0.9432 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.811, allocations: 115.4 kB / 0.9433 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.811, allocations: 0 / 0.9433 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of Templates: time 0.05731/0.8683, allocations: 39.39 MB / 0.9818 GB, free: 1.73 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)