Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 110.2 kB / 16.41 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.001209/0.001209, allocations: 183 kB / 17.34 MB, free: 5.75 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.365/1.365, 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.002329/0.002329, allocations: 294 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9783/0.9783, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4689, allocations: 86.96 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03636/0.5053, allocations: 32.6 MB / 0.7989 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.5219, allocations: 10.27 MB / 0.8089 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.5248, allocations: 151.2 kB / 0.8091 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0096/0.5344, allocations: 3.718 MB / 0.8127 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.5402, allocations: 1.956 MB / 0.8146 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.5461, allocations: 2.123 MB / 0.8167 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009063/0.5552, allocations: 7.349 MB / 0.8239 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.5699, allocations: 9.404 MB / 0.833 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005821/0.5758, allocations: 3.233 MB / 0.8362 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005572/0.5814, allocations: 3.481 MB / 0.8396 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001923/0.5833, allocations: 0.6484 MB / 0.8402 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.588, allocations: 1.771 MB / 0.842 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003962/0.592, allocations: 2.546 MB / 0.8444 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005805/0.5978, allocations: 2.902 MB / 0.8473 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.6111, allocations: 10.11 MB / 0.8572 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6112, allocations: 0 / 0.8572 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6112, allocations: 0 / 0.8572 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003252/0.6115, allocations: 0 / 0.8572 GB, free: 7.328 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01567/0.6272, allocations: 4.998 MB / 0.862 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6273, allocations: 8.031 kB / 0.862 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/0.634, allocations: 0.9552 MB / 0.863 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007106/0.6412, allocations: 3.034 MB / 0.8659 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.6416, allocations: 357.6 kB / 0.8663 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/0.6434, allocations: 460.2 kB / 0.8667 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.6634, allocations: 7.667 MB / 0.8742 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003431/0.6638, allocations: 35.67 kB / 0.8742 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/0.6654, allocations: 200 kB / 0.8744 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004087/0.6658, allocations: 309 kB / 0.8747 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.6789, allocations: 5.714 MB / 0.8803 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04682/0.7258, allocations: 34.82 MB / 0.9143 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.7288, allocations: 2.165 MB / 0.9164 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.7306, allocations: 1.264 MB / 0.9177 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.7308, allocations: 17.31 kB / 0.9177 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.7308, allocations: 51.81 kB / 0.9177 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 3.226e-06/0.7308, allocations: 0 / 0.9177 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01545/0.7463, allocations: 7.077 MB / 0.9246 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.7464, allocations: 64.72 kB / 0.9247 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/0.7498, allocations: 1.488 MB / 0.9261 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.75, allocations: 49.7 kB / 0.9262 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.7515, allocations: 2.008 MB / 0.9282 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/0.7522, allocations: 489.1 kB / 0.9286 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006657/0.7528, allocations: 347.2 kB / 0.929 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.753, allocations: 301.1 kB / 0.9292 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.7544, allocations: 0.9135 MB / 0.9301 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.7562, allocations: 1.601 MB / 0.9317 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.7599, allocations: 2.737 MB / 0.9344 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.76, allocations: 4 kB / 0.9344 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006658/0.7666, allocations: 3.53 MB / 0.9378 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.7667, allocations: 14.66 kB / 0.9378 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/0.7668, allocations: 28 kB / 0.9379 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/0.7695, allocations: 0.9044 MB / 0.9387 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7708, allocations: 347.4 kB / 0.9391 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.7922, allocations: 23.1 MB / 0.9616 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.7942, allocations: 104 kB / 0.9617 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/0.7945, allocations: 84 kB / 0.9618 GB, free: 5.547 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002801/0.7973, allocations: 1.612 MB / 0.9634 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.7978, allocations: 205.5 kB / 0.9636 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.8033, allocations: 2.994 MB / 0.9665 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.8034, allocations: 15.94 kB / 0.9665 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/0.8034, allocations: 12 kB / 0.9665 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.8034, allocations: 7.969 kB / 0.9665 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3673/1.171, allocations: 7.328 MB / 0.9737 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.171, allocations: 4.438 kB / 0.9737 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/1.172, allocations: 180 kB / 0.9739 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/1.174, allocations: 0.8274 MB / 0.9747 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.263e-05/1.174, allocations: 30.94 kB / 0.9747 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.189, allocations: 21.94 MB / 0.9961 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.189, allocations: 7.812 kB / 0.9961 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004554/1.194, allocations: 3.029 MB / 0.9991 GB, free: 159.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/1.194, allocations: 456.1 kB / 0.9995 GB, free: 159.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/1.195, allocations: 34.06 kB / 0.9996 GB, free: 159.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/1.195, allocations: 69.14 kB / 0.9996 GB, free: 159.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/1.196, allocations: 131.1 kB / 0.9998 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/1.196, allocations: 39.81 kB / 0.9998 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001139/1.197, allocations: 0.9769 MB / 1.001 GB, free: 159 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.197, allocations: 2.188 kB / 1.001 GB, free: 159 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002527/1.2, allocations: 0.7914 MB / 1.002 GB, free: 159 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/1.2, allocations: 141.5 kB / 1.002 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004671/1.205, allocations: 4.037 MB / 1.006 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/1.205, allocations: 0 / 1.006 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00298/1.208, allocations: 2.733 MB / 1.008 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/1.211, allocations: 0.7308 MB / 1.009 GB, free: 154.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.222, allocations: 7.744 MB / 1.017 GB, free: 147.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/1.225, allocations: 3.173 MB / 1.02 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/1.225, allocations: 127.4 kB / 1.02 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.225, allocations: 0 / 1.02 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.5979/1.823, allocations: 321.7 MB / 1.334 GB, free: 287.9 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)