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.006113/0.006113, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001146/0.001146, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 270.9 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 103.8 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1562, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.3437/0.5, allocations: 14.03 MB / 0.7801 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.5124, allocations: 9.395 MB / 0.7893 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.5142, allocations: 61.53 kB / 0.7893 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.5182, allocations: 1.66 MB / 0.7909 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.5228, allocations: 1.586 MB / 0.7925 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.5247, allocations: 0.7622 MB / 0.7932 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00305/0.5277, allocations: 2.518 MB / 0.7957 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.5297, allocations: 1.417 MB / 0.7971 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.5315, allocations: 1.065 MB / 0.7981 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.5331, allocations: 1.146 MB / 0.7992 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.5333, allocations: 164.3 kB / 0.7994 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.5351, allocations: 0.79 MB / 0.8002 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007501/0.5358, allocations: 0.6163 MB / 0.8008 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.5373, allocations: 0.9452 MB / 0.8017 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006267/0.5436, allocations: 2.757 MB / 0.8044 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.5436, allocations: 1.516 kB / 0.8044 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.516e-06/0.5437, allocations: 0 / 0.8044 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001482/0.5438, allocations: 0 / 0.8044 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.007218/0.551, allocations: 2.144 MB / 0.8065 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.382e-05/0.5511, allocations: 10.14 kB / 0.8065 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.5648, allocations: 2.083 MB / 0.8085 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0035/0.5683, allocations: 1.291 MB / 0.8098 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.5684, allocations: 94.05 kB / 0.8099 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.5687, allocations: 116.6 kB / 0.81 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006154/0.5749, allocations: 2.685 MB / 0.8126 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.575, allocations: 11.56 kB / 0.8126 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.5752, allocations: 54.52 kB / 0.8127 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006919/0.5759, allocations: 181.4 kB / 0.8128 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007887/0.5838, allocations: 2.793 MB / 0.8156 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/0.5995, allocations: 10.47 MB / 0.8258 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.6066, allocations: 2.518 MB / 0.8283 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/0.6099, allocations: 1.286 MB / 0.8295 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.681e-05/0.61, allocations: 9.781 kB / 0.8295 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.6101, allocations: 55.8 kB / 0.8296 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/0.6101, allocations: 0 / 0.8296 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04791/0.658, allocations: 13.35 MB / 0.8426 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.6581, allocations: 64.72 kB / 0.8427 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.6598, allocations: 1.113 MB / 0.8438 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.66, allocations: 53.53 kB / 0.8438 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.6605, allocations: 0.7194 MB / 0.8445 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.661, allocations: 453.4 kB / 0.8449 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005054/0.6615, allocations: 263.4 kB / 0.8452 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6616, allocations: 365.9 kB / 0.8455 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.665, allocations: 1.343 MB / 0.8469 GB, free: 200 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/0.6686, allocations: 1.596 MB / 0.8484 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007076/0.6757, allocations: 2.991 MB / 0.8513 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6758, allocations: 0 / 0.8513 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01213/0.6879, allocations: 4.443 MB / 0.8557 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.688, allocations: 16.09 kB / 0.8557 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.688, allocations: 8 kB / 0.8557 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00523/0.6932, allocations: 1.426 MB / 0.8571 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.6954, allocations: 446.6 kB / 0.8575 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/0.7226, allocations: 26.68 MB / 0.8836 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.7257, allocations: 303.5 kB / 0.8839 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.7258, allocations: 63.97 kB / 0.8839 GB, free: 8.137 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.0009587/0.7268, allocations: 444.9 kB / 0.8843 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.7271, allocations: 162 kB / 0.8845 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.7389, allocations: 4.453 MB / 0.8888 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.739, allocations: 12 kB / 0.8889 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.739, allocations: 19.98 kB / 0.8889 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.739, allocations: 3.984 kB / 0.8889 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.7544, allocations: 6.768 MB / 0.8955 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7545, allocations: 8.062 kB / 0.8955 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/0.7563, allocations: 379.4 kB / 0.8959 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00461/0.761, allocations: 1.307 MB / 0.8971 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.7611, allocations: 39.97 kB / 0.8972 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02477/0.7859, allocations: 25.49 MB / 0.9221 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7859, allocations: 3.938 kB / 0.9221 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.797, allocations: 4.198 MB / 0.9262 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.7981, allocations: 466.8 kB / 0.9266 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.7984, allocations: 24 kB / 0.9266 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.8006, allocations: 312 kB / 0.9269 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/0.801, allocations: 124.7 kB / 0.927 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.8011, allocations: 51.95 kB / 0.9271 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001014/0.8022, allocations: 0.7526 MB / 0.9278 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8022, allocations: 4 kB / 0.9278 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001945/0.8041, allocations: 0.5703 MB / 0.9284 GB, free: 8.371 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.0003017/0.8044, allocations: 154.7 kB / 0.9285 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.8156, allocations: 5.123 MB / 0.9335 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.8156, allocations: 4.062 kB / 0.9335 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007217/0.8228, allocations: 3.503 MB / 0.937 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.8257, allocations: 0.5441 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.008623/0.8344, allocations: 3.982 MB / 0.9414 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.8356, allocations: 1.477 MB / 0.9428 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001492/0.8371, allocations: 429.6 kB / 0.9432 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.8375, allocations: 111.4 kB / 0.9433 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/0.8375, allocations: 0 / 0.9433 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of Templates: time 0.05959/0.8971, allocations: 39.38 MB / 0.9818 GB, free: 1.723 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)