Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, 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.001689/0.001689, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.37/1.37, 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.002326/0.002326, allocations: 281 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 0.942/0.942, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 92.23 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4941, allocations: 86.99 MB / 0.7671 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01661/0.5108, allocations: 14.77 MB / 0.7815 GB, free: 5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.5256, allocations: 10.34 MB / 0.7916 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.5272, allocations: 59.62 kB / 0.7916 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.5319, allocations: 1.697 MB / 0.7933 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.5376, allocations: 1.81 MB / 0.7951 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.5398, allocations: 0.7544 MB / 0.7958 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004046/0.5438, allocations: 2.75 MB / 0.7985 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.5459, allocations: 1.419 MB / 0.7999 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.5483, allocations: 1.531 MB / 0.8014 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.5503, allocations: 1.156 MB / 0.8025 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.5506, allocations: 164 kB / 0.8026 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.5524, allocations: 0.7836 MB / 0.8034 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.553, allocations: 0.6076 MB / 0.804 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.554, allocations: 0.9639 MB / 0.8049 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.5575, allocations: 2.757 MB / 0.8076 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.5575, allocations: 0 / 0.8076 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5575, allocations: 3.938 kB / 0.8076 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.063e-05/0.5575, allocations: 0 / 0.8076 GB, free: 10.09 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.004063/0.5616, allocations: 2.166 MB / 0.8098 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5617, allocations: 12.03 kB / 0.8098 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.5735, allocations: 2.112 MB / 0.8118 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.5766, allocations: 1.303 MB / 0.8131 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.5767, allocations: 86.69 kB / 0.8132 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.5769, allocations: 128 kB / 0.8133 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005692/0.5826, allocations: 2.67 MB / 0.8159 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.5827, allocations: 7.938 kB / 0.8159 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.5829, allocations: 55.97 kB / 0.816 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006581/0.5835, allocations: 198.1 kB / 0.8162 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007931/0.5915, allocations: 2.795 MB / 0.8189 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.6074, allocations: 10.45 MB / 0.8291 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/0.6141, allocations: 2.336 MB / 0.8314 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.6173, allocations: 1.276 MB / 0.8326 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.6174, allocations: 13 kB / 0.8326 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.6174, allocations: 47.55 kB / 0.8327 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 4.198e-06/0.6174, allocations: 0 / 0.8327 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06027/0.6777, allocations: 16.5 MB / 0.8488 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.6778, allocations: 72.72 kB / 0.8489 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6794, allocations: 1.172 MB / 0.85 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.6797, allocations: 53.7 kB / 0.8501 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.6802, allocations: 0.7397 MB / 0.8508 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.6808, allocations: 0.5159 MB / 0.8513 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.6813, allocations: 287.4 kB / 0.8516 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6814, allocations: 309.1 kB / 0.8519 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.685, allocations: 1.514 MB / 0.8533 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/0.6886, allocations: 1.772 MB / 0.8551 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007329/0.696, allocations: 3.369 MB / 0.8584 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.696, allocations: 4 kB / 0.8584 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0137/0.7097, allocations: 5.276 MB / 0.8635 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.7098, allocations: 8.875 kB / 0.8635 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.7098, allocations: 8 kB / 0.8635 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006877/0.7167, allocations: 1.888 MB / 0.8654 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.7188, allocations: 415.3 kB / 0.8658 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/0.7489, allocations: 24.13 MB / 0.8893 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.7519, allocations: 303.5 kB / 0.8896 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/0.7523, allocations: 76.03 kB / 0.8897 GB, free: 3.59 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.7536, allocations: 457.4 kB / 0.8901 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/0.7542, allocations: 173.9 kB / 0.8903 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.7682, allocations: 5.324 MB / 0.8955 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.7683, allocations: 16 kB / 0.8955 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-05/0.7683, allocations: 20 kB / 0.8955 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.7684, allocations: 15.97 kB / 0.8955 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.7857, allocations: 7.411 MB / 0.9028 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.7858, allocations: 4 kB / 0.9028 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.7875, allocations: 351.4 kB / 0.9031 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.7936, allocations: 1.709 MB / 0.9048 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.7939, allocations: 51.95 kB / 0.9048 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02796/0.8219, allocations: 23.3 MB / 0.9276 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8219, allocations: 4 kB / 0.9276 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/0.8346, allocations: 4.891 MB / 0.9324 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.8358, allocations: 498.8 kB / 0.9329 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004922/0.8363, allocations: 28 kB / 0.9329 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/0.8388, allocations: 319.5 kB / 0.9332 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/0.8394, allocations: 152.9 kB / 0.9333 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.8395, allocations: 59.95 kB / 0.9334 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001204/0.8408, allocations: 0.786 MB / 0.9342 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.443e-06/0.8408, allocations: 0 / 0.9342 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002362/0.8431, allocations: 0.664 MB / 0.9348 GB, free: 3.969 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/0.8435, allocations: 149.4 kB / 0.9349 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.855, allocations: 5.136 MB / 0.94 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.8551, allocations: 4.125 kB / 0.94 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007218/0.8623, allocations: 3.355 MB / 0.9432 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.8655, allocations: 0.5668 MB / 0.9438 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8771, allocations: 4.396 MB / 0.9481 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.8792, allocations: 1.572 MB / 0.9496 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007397/0.8799, allocations: 123.3 kB / 0.9497 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/0.88, allocations: 0 / 0.9497 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.515/1.395, allocations: 85.85 MB / 1.034 GB, free: 137.1 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)