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.001548/0.001548, allocations: 106.3 kB / 16.4 MB, free: 6.461 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.001514/0.001514, allocations: 192 kB / 17.34 MB, free: 5.715 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002551/0.002552, allocations: 283 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 99.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3954, allocations: 86.97 MB / 0.7671 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01723/0.4126, allocations: 14.04 MB / 0.7808 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.4268, allocations: 9.392 MB / 0.7899 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/0.4277, allocations: 55.69 kB / 0.79 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.4318, allocations: 1.685 MB / 0.7916 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.4355, allocations: 1.577 MB / 0.7932 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.4373, allocations: 0.7537 MB / 0.7939 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002931/0.4402, allocations: 2.528 MB / 0.7964 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.442, allocations: 1.411 MB / 0.7978 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.4435, allocations: 1.075 MB / 0.7988 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.445, allocations: 1.14 MB / 0.7999 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.4453, allocations: 164 kB / 0.8001 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.4467, allocations: 0.7994 MB / 0.8009 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.4473, allocations: 0.6154 MB / 0.8015 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.4483, allocations: 0.9407 MB / 0.8024 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.4516, allocations: 2.769 MB / 0.8051 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4516, allocations: 0 / 0.8051 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4516, allocations: 0 / 0.8051 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.4517, allocations: 3.938 kB / 0.8051 GB, free: 12.91 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.003946/0.4556, allocations: 2.187 MB / 0.8072 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4557, allocations: 12.03 kB / 0.8072 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.4675, allocations: 2.094 MB / 0.8093 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.4706, allocations: 1.299 MB / 0.8106 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.4707, allocations: 90.73 kB / 0.8106 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.471, allocations: 128 kB / 0.8108 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/0.4771, allocations: 2.679 MB / 0.8134 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.4772, allocations: 11.94 kB / 0.8134 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.4774, allocations: 51.98 kB / 0.8134 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/0.478, allocations: 178.1 kB / 0.8136 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008482/0.4865, allocations: 2.795 MB / 0.8163 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.5028, allocations: 10.49 MB / 0.8266 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007385/0.5102, allocations: 2.528 MB / 0.829 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.5136, allocations: 1.288 MB / 0.8303 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.5137, allocations: 9 kB / 0.8303 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.5138, allocations: 43.56 kB / 0.8304 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.535e-06/0.5138, allocations: 4 kB / 0.8304 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04847/0.5622, allocations: 13.38 MB / 0.8434 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.5623, allocations: 64.72 kB / 0.8435 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.5639, allocations: 1.109 MB / 0.8446 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.564, allocations: 57.7 kB / 0.8446 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/0.5646, allocations: 0.7287 MB / 0.8453 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.5651, allocations: 475.9 kB / 0.8458 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.5657, allocations: 259.5 kB / 0.846 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.5659, allocations: 357.9 kB / 0.8464 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003503/0.5694, allocations: 1.343 MB / 0.8477 GB, free: 84 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.5731, allocations: 1.612 MB / 0.8493 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007271/0.5804, allocations: 2.994 MB / 0.8522 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5804, allocations: 4 kB / 0.8522 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01212/0.5926, allocations: 4.443 MB / 0.8565 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.5926, allocations: 12.16 kB / 0.8565 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5926, allocations: 8 kB / 0.8565 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005457/0.5981, allocations: 1.427 MB / 0.8579 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.6002, allocations: 439.2 kB / 0.8584 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03141/0.6316, allocations: 26.7 MB / 0.8844 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.6341, allocations: 303.6 kB / 0.8847 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.6343, allocations: 63.91 kB / 0.8848 GB, free: 7.973 MB / 0.6544 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.0008303/0.6352, allocations: 437.4 kB / 0.8852 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.6355, allocations: 171 kB / 0.8854 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.648, allocations: 4.457 MB / 0.8897 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.648, allocations: 12 kB / 0.8897 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.648, allocations: 12 kB / 0.8897 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.648, allocations: 7.969 kB / 0.8897 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.664, allocations: 6.772 MB / 0.8964 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.6641, allocations: 8.062 kB / 0.8964 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.666, allocations: 375.4 kB / 0.8967 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004973/0.671, allocations: 1.302 MB / 0.898 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.6711, allocations: 35.97 kB / 0.898 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02908/0.7002, allocations: 25.52 MB / 0.9229 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7002, allocations: 4 kB / 0.923 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.7119, allocations: 4.222 MB / 0.9271 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.713, allocations: 455.8 kB / 0.9275 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.7132, allocations: 28.47 kB / 0.9275 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/0.7153, allocations: 311.5 kB / 0.9278 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/0.7158, allocations: 124.7 kB / 0.928 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.7159, allocations: 47.97 kB / 0.928 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001128/0.7171, allocations: 0.7526 MB / 0.9287 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/0.7171, allocations: 7.938 kB / 0.9287 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001901/0.719, allocations: 0.5703 MB / 0.9293 GB, free: 8.168 MB / 0.7012 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.00029/0.7193, allocations: 139.1 kB / 0.9294 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01176/0.7311, allocations: 5.142 MB / 0.9345 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7311, allocations: 4.062 kB / 0.9345 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007444/0.7385, allocations: 3.507 MB / 0.9379 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.741, allocations: 0.555 MB / 0.9384 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.7499, allocations: 4.034 MB / 0.9424 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.7512, allocations: 1.477 MB / 0.9438 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001508/0.7527, allocations: 425.6 kB / 0.9442 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.7531, allocations: 115.4 kB / 0.9443 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.7531, allocations: 0 / 0.9443 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of Templates: time 0.3771/1.13, allocations: 39.46 MB / 0.9829 GB, free: 181.5 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)