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.005039/0.005039, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001118/0.001118, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 286.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.3303/0.4864, allocations: 14.04 MB / 0.7801 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4976, allocations: 9.387 MB / 0.7893 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.4987, allocations: 54.03 kB / 0.7893 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.5025, allocations: 1.672 MB / 0.7909 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.5072, allocations: 1.548 MB / 0.7925 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.5092, allocations: 0.7468 MB / 0.7932 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00274/0.512, allocations: 2.519 MB / 0.7956 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.5137, allocations: 1.41 MB / 0.797 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.5151, allocations: 1.054 MB / 0.7981 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.5165, allocations: 1.132 MB / 0.7992 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.5167, allocations: 164.2 kB / 0.7993 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.5183, allocations: 0.7908 MB / 0.8001 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006358/0.5189, allocations: 0.6233 MB / 0.8007 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009816/0.5199, allocations: 0.9376 MB / 0.8016 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.5237, allocations: 2.77 MB / 0.8043 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5238, allocations: 5.312 kB / 0.8043 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5238, allocations: 0 / 0.8043 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.987e-05/0.5238, allocations: 0.75 kB / 0.8043 GB, free: 12.22 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.004403/0.5282, allocations: 2.184 MB / 0.8065 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5283, allocations: 13.31 kB / 0.8065 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.5401, allocations: 2.094 MB / 0.8085 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.5432, allocations: 1.307 MB / 0.8098 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.5433, allocations: 90.36 kB / 0.8099 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.5436, allocations: 128.2 kB / 0.81 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005942/0.5495, allocations: 2.685 MB / 0.8126 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.5496, allocations: 3.562 kB / 0.8126 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.5498, allocations: 59.11 kB / 0.8127 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006034/0.5504, allocations: 183.3 kB / 0.8129 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007568/0.5579, allocations: 2.792 MB / 0.8156 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.5729, allocations: 10.48 MB / 0.8258 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006772/0.5797, allocations: 2.521 MB / 0.8283 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.583, allocations: 1.288 MB / 0.8295 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.6e-05/0.5831, allocations: 9.969 kB / 0.8295 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5831, allocations: 43.84 kB / 0.8296 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.677e-06/0.5832, allocations: 4 kB / 0.8296 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04772/0.6309, allocations: 13.38 MB / 0.8427 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.631, allocations: 72.72 kB / 0.8427 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.6329, allocations: 1.109 MB / 0.8438 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.6331, allocations: 45.7 kB / 0.8439 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.6337, allocations: 0.7365 MB / 0.8446 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005197/0.6342, allocations: 479.8 kB / 0.845 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/0.6348, allocations: 255.5 kB / 0.8453 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.635, allocations: 361.9 kB / 0.8456 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/0.6384, allocations: 1.343 MB / 0.8469 GB, free: 44 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/0.642, allocations: 1.6 MB / 0.8485 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006887/0.6489, allocations: 2.998 MB / 0.8514 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.6489, allocations: 4 kB / 0.8514 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01156/0.6605, allocations: 4.44 MB / 0.8558 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6605, allocations: 12.06 kB / 0.8558 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6605, allocations: 12 kB / 0.8558 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/0.6656, allocations: 1.432 MB / 0.8572 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.6676, allocations: 439.2 kB / 0.8576 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/0.6931, allocations: 26.71 MB / 0.8837 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.6957, allocations: 307.6 kB / 0.884 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.696, allocations: 59.97 kB / 0.884 GB, free: 7.945 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.0009025/0.6969, allocations: 440.9 kB / 0.8845 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/0.6973, allocations: 174.9 kB / 0.8846 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.7087, allocations: 4.453 MB / 0.889 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7087, allocations: 12 kB / 0.889 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/0.7088, allocations: 12 kB / 0.889 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7088, allocations: 3.984 kB / 0.889 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.7237, allocations: 6.772 MB / 0.8956 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.7237, allocations: 8.031 kB / 0.8956 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.7255, allocations: 375.4 kB / 0.896 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004639/0.7302, allocations: 1.306 MB / 0.8973 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.7303, allocations: 35.97 kB / 0.8973 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02559/0.7559, allocations: 25.51 MB / 0.9222 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.756, allocations: 4 kB / 0.9222 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.7666, allocations: 4.218 MB / 0.9263 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009586/0.7676, allocations: 463.8 kB / 0.9268 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.768, allocations: 24 kB / 0.9268 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/0.7703, allocations: 311.5 kB / 0.9271 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/0.7708, allocations: 124.7 kB / 0.9272 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.771, allocations: 47.97 kB / 0.9272 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001136/0.7721, allocations: 0.753 MB / 0.928 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7721, allocations: 4 kB / 0.928 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002284/0.7744, allocations: 0.5703 MB / 0.9285 GB, free: 8.152 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.0002893/0.7747, allocations: 147 kB / 0.9287 GB, free: 8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01051/0.7852, allocations: 5.134 MB / 0.9337 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7853, allocations: 8.062 kB / 0.9337 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006506/0.7918, allocations: 3.507 MB / 0.9371 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.7942, allocations: 0.5522 MB / 0.9377 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/0.8025, allocations: 4.042 MB / 0.9416 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8036, allocations: 1.477 MB / 0.9431 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001394/0.805, allocations: 433.6 kB / 0.9435 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.8055, allocations: 111.4 kB / 0.9436 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/0.8055, allocations: 4 kB / 0.9436 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of Templates: time 0.0576/0.8631, allocations: 39.38 MB / 0.982 GB, free: 1.414 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)