Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004203/0.004203, allocations: 100.9 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.001099/0.001099, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 286.8 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9421/0.9421, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 99.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3297/0.4826, allocations: 34.82 MB / 0.8004 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.5062, allocations: 11.49 MB / 0.8116 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.5099, allocations: 163.4 kB / 0.8118 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.5207, allocations: 4.264 MB / 0.816 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007037/0.5278, allocations: 2.088 MB / 0.818 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007822/0.5356, allocations: 2.403 MB / 0.8203 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.5483, allocations: 8.477 MB / 0.8286 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/0.5656, allocations: 11.12 MB / 0.8395 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/0.5721, allocations: 3.795 MB / 0.8432 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006677/0.5788, allocations: 4.185 MB / 0.8473 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.5812, allocations: 0.7822 MB / 0.848 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.587, allocations: 2.028 MB / 0.85 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005147/0.5921, allocations: 3.06 MB / 0.853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007159/0.5993, allocations: 3.4 MB / 0.8563 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.615, allocations: 11.97 MB / 0.868 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.615, allocations: 8 kB / 0.868 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.615, allocations: 3.938 kB / 0.868 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000354/0.6154, allocations: 0 / 0.868 GB, free: 11.72 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01228/0.6277, allocations: 5.802 MB / 0.8737 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6277, allocations: 8.031 kB / 0.8737 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/0.6333, allocations: 1.06 MB / 0.8747 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/0.6396, allocations: 3.45 MB / 0.8781 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.6399, allocations: 423.4 kB / 0.8785 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.6411, allocations: 0.5393 MB / 0.879 GB, free: 312 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.6562, allocations: 9.079 MB / 0.8879 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.6564, allocations: 35.69 kB / 0.8879 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/0.6569, allocations: 232 kB / 0.8882 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/0.6573, allocations: 346.8 kB / 0.8885 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.6691, allocations: 6.83 MB / 0.8952 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04066/0.7098, allocations: 39.79 MB / 0.934 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.7135, allocations: 3.108 MB / 0.9371 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/0.7161, allocations: 1.974 MB / 0.939 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.7162, allocations: 21.98 kB / 0.939 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.7162, allocations: 60.5 kB / 0.9391 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 3.978e-06/0.7163, allocations: 0 / 0.9391 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02412/0.7404, allocations: 9.985 MB / 0.9488 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.7405, allocations: 69.41 kB / 0.9489 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.7426, allocations: 1.534 MB / 0.9504 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.793e-05/0.7427, allocations: 53.7 kB / 0.9504 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.7441, allocations: 2.249 MB / 0.9526 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.7446, allocations: 0.6356 MB / 0.9532 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/0.7452, allocations: 407.9 kB / 0.9536 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.7453, allocations: 309.1 kB / 0.9539 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.7468, allocations: 1.176 MB / 0.9551 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.7488, allocations: 1.885 MB / 0.9569 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/0.7527, allocations: 3.363 MB / 0.9602 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.7527, allocations: 7.938 kB / 0.9602 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007272/0.76, allocations: 4.581 MB / 0.9647 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.7601, allocations: 20.25 kB / 0.9647 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.7601, allocations: 24 kB / 0.9647 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/0.7638, allocations: 1.581 MB / 0.9663 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7649, allocations: 355.3 kB / 0.9666 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.7869, allocations: 18.57 MB / 0.9847 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.7885, allocations: 119.9 kB / 0.9849 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.7887, allocations: 96 kB / 0.9849 GB, free: 14.21 MB / 0.7481 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003456/0.7921, allocations: 1.899 MB / 0.9868 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.7926, allocations: 225.3 kB / 0.987 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00675/0.7994, allocations: 4.094 MB / 0.991 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.7994, allocations: 16 kB / 0.991 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/0.7995, allocations: 16 kB / 0.991 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.7995, allocations: 7.969 kB / 0.9911 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.8136, allocations: 9.461 MB / 1 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.8136, allocations: 4 kB / 1 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.8144, allocations: 179.7 kB / 1 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.8177, allocations: 1.353 MB / 1.002 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.8179, allocations: 36 kB / 1.002 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.8384, allocations: 17.36 MB / 1.019 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.8384, allocations: 11.94 kB / 1.019 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/0.8448, allocations: 4.078 MB / 1.023 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.8458, allocations: 0.5295 MB / 1.023 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.846, allocations: 39.98 kB / 1.023 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/0.8469, allocations: 83.89 kB / 1.023 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/0.8473, allocations: 165.7 kB / 1.024 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.8474, allocations: 48 kB / 1.024 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001283/0.8487, allocations: 1.001 MB / 1.025 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8487, allocations: 0 / 1.025 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002653/0.8514, allocations: 0.9844 MB / 1.026 GB, free: 3.645 MB / 0.7794 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002497/0.8516, allocations: 149.5 kB / 1.026 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006574/0.8582, allocations: 4.292 MB / 1.03 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8582, allocations: 0 / 1.03 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004011/0.8622, allocations: 2.67 MB / 1.032 GB, free: 12.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.8652, allocations: 0.7856 MB / 1.033 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.8787, allocations: 8.593 MB / 1.042 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/0.8824, allocations: 3.569 MB / 1.045 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001267/0.8837, allocations: 459.9 kB / 1.046 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.884, allocations: 127.4 kB / 1.046 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of SimCode: time 6.81e-07/0.884, allocations: 0 / 1.046 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.07275/0.9568, allocations: 44.63 MB / 1.089 GB, free: 2.672 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)