Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001395/0.001395, allocations: 191.5 kB / 16.14 MB, free: 6.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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002735/0.002735, allocations: 287.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 94.03 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1589, allocations: 89.15 MB / 0.6928 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04179/0.2008, allocations: 34.8 MB / 0.7268 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.2183, allocations: 9.917 MB / 0.7365 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003384/0.2217, allocations: 135.2 kB / 0.7366 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009562/0.2313, allocations: 3.542 MB / 0.7401 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.2368, allocations: 1.913 MB / 0.7419 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.2418, allocations: 1.797 MB / 0.7437 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0131/0.2549, allocations: 11.19 MB / 0.7546 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2865/0.5415, allocations: 10.69 MB / 0.7651 GB, free: 16.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005565/0.5471, allocations: 2.877 MB / 0.7679 GB, free: 16.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006353/0.5534, allocations: 3.799 MB / 0.7716 GB, free: 16.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.5549, allocations: 465.8 kB / 0.772 GB, free: 16.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.5585, allocations: 1.447 MB / 0.7734 GB, free: 16.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002868/0.5613, allocations: 2.39 MB / 0.7758 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00512/0.5665, allocations: 2.847 MB / 0.7785 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.5773, allocations: 10.2 MB / 0.7885 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.5773, allocations: 1.344 kB / 0.7885 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5773, allocations: 4 kB / 0.7885 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002606/0.5776, allocations: 0 / 0.7885 GB, free: 14.29 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01165/0.5893, allocations: 5.403 MB / 0.7938 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5893, allocations: 9.875 kB / 0.7938 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.5942, allocations: 0.9577 MB / 0.7947 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/0.5999, allocations: 2.998 MB / 0.7977 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.6, allocations: 352 kB / 0.798 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007773/0.6008, allocations: 468.3 kB / 0.7984 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.6139, allocations: 7.907 MB / 0.8062 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.927e-05/0.6141, allocations: 31.55 kB / 0.8062 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004969/0.6146, allocations: 210.3 kB / 0.8064 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004105/0.615, allocations: 363.6 kB / 0.8067 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008519/0.6235, allocations: 5.938 MB / 0.8125 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.6601, allocations: 36.22 MB / 0.8479 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.6635, allocations: 2.133 MB / 0.85 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.6656, allocations: 1.483 MB / 0.8514 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.6658, allocations: 17.31 kB / 0.8515 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.6658, allocations: 55.88 kB / 0.8515 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.056e-06/0.6658, allocations: 0 / 0.8515 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01532/0.6812, allocations: 7.542 MB / 0.8589 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6812, allocations: 72.72 kB / 0.8589 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.6841, allocations: 1.863 MB / 0.8608 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.6842, allocations: 57.7 kB / 0.8608 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.6859, allocations: 2.121 MB / 0.8629 GB, free: 5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005829/0.6865, allocations: 0.5632 MB / 0.8634 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006855/0.6872, allocations: 399.7 kB / 0.8638 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6873, allocations: 305.1 kB / 0.8641 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.6891, allocations: 1.062 MB / 0.8651 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.6915, allocations: 1.76 MB / 0.8669 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00458/0.6961, allocations: 3.049 MB / 0.8698 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.6961, allocations: 8 kB / 0.8698 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007535/0.7037, allocations: 3.929 MB / 0.8737 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.7037, allocations: 21.09 kB / 0.8737 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/0.7038, allocations: 20 kB / 0.8737 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.7065, allocations: 0.9297 MB / 0.8746 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.7081, allocations: 428.4 kB / 0.875 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/0.7305, allocations: 21.04 MB / 0.8956 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.7326, allocations: 127.9 kB / 0.8957 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.7328, allocations: 95.94 kB / 0.8958 GB, free: 1.398 MB / 0.6231 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003221/0.736, allocations: 1.645 MB / 0.8974 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/0.7365, allocations: 257 kB / 0.8977 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/0.7423, allocations: 3.262 MB / 0.9008 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.7423, allocations: 16 kB / 0.9009 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.7424, allocations: 8 kB / 0.9009 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7424, allocations: 11.97 kB / 0.9009 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.7559, allocations: 7.547 MB / 0.9082 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7559, allocations: 12 kB / 0.9083 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/0.7569, allocations: 214.6 kB / 0.9085 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/0.7595, allocations: 0.9044 MB / 0.9093 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.7596, allocations: 28 kB / 0.9094 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/0.7819, allocations: 21.02 MB / 0.9299 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7819, allocations: 11.69 kB / 0.9299 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.7883, allocations: 3.372 MB / 0.9332 GB, free: 9.453 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.7896, allocations: 0.533 MB / 0.9337 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.7899, allocations: 35.98 kB / 0.9338 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.791, allocations: 91.89 kB / 0.9338 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/0.7914, allocations: 146.1 kB / 0.934 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.7916, allocations: 44 kB / 0.934 GB, free: 8.598 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001987/0.7936, allocations: 1.225 MB / 0.9352 GB, free: 7.359 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7936, allocations: 0 / 0.9352 GB, free: 7.359 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003062/0.7966, allocations: 0.9062 MB / 0.9361 GB, free: 6.453 MB / 0.67 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003752/0.797, allocations: 163.1 kB / 0.9363 GB, free: 6.297 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008307/0.8053, allocations: 4.41 MB / 0.9406 GB, free: 1.812 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.8054, allocations: 5 kB / 0.9406 GB, free: 1.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005491/0.8109, allocations: 2.993 MB / 0.9435 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/0.8156, allocations: 0.765 MB / 0.9442 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.8317, allocations: 9.685 MB / 0.9537 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/0.836, allocations: 3.216 MB / 0.9568 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002155/0.8382, allocations: 0.5254 MB / 0.9574 GB, free: 416 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.8387, allocations: 147.4 kB / 0.9575 GB, free: 268 kB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/0.8387, allocations: 0 / 0.9575 GB, free: 268 kB / 0.6856 GB Notification: Performance of Templates: time 0.07888/0.9176, allocations: 41.56 MB / 0.9981 GB, free: 7.414 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)