Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009246, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.004735/0.004736, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 275 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9311/0.9311, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004506, allocations: 16.92 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 88.54 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03142/0.1935, allocations: 29.7 MB / 0.7141 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0215/0.2151, allocations: 13.4 MB / 0.7272 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003878/0.219, allocations: 131.2 kB / 0.7274 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.2219, allocations: 0.6551 MB / 0.728 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008042/0.2299, allocations: 2.468 MB / 0.7304 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005258/0.2352, allocations: 1.714 MB / 0.7321 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.2482, allocations: 10.43 MB / 0.7423 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01718/0.2655, allocations: 10.18 MB / 0.7522 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.271, allocations: 2.587 MB / 0.7547 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005362/0.2764, allocations: 2.946 MB / 0.7576 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.2777, allocations: 244 kB / 0.7578 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.2813, allocations: 1.384 MB / 0.7592 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00305/0.2843, allocations: 1.917 MB / 0.7611 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.3186/0.603, allocations: 2.378 MB / 0.7634 GB, free: 24.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.6175, allocations: 9.015 MB / 0.7722 GB, free: 24.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6175, allocations: 1.516 kB / 0.7722 GB, free: 24.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6175, allocations: 0.9062 kB / 0.7722 GB, free: 24.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003298/0.6179, allocations: 1 kB / 0.7722 GB, free: 24.48 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01298/0.6308, allocations: 4.157 MB / 0.7763 GB, free: 22.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.6309, allocations: 6.719 kB / 0.7763 GB, free: 22.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008072/0.639, allocations: 1.005 MB / 0.7772 GB, free: 22.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007889/0.6469, allocations: 2.893 MB / 0.7801 GB, free: 21.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.6472, allocations: 315.9 kB / 0.7804 GB, free: 21.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/0.6492, allocations: 415.7 kB / 0.7808 GB, free: 21.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.6671, allocations: 6.796 MB / 0.7874 GB, free: 20.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005004/0.6676, allocations: 21.94 kB / 0.7874 GB, free: 20.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/0.6698, allocations: 181.6 kB / 0.7876 GB, free: 20.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001567/0.6714, allocations: 375.4 kB / 0.788 GB, free: 20.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.686, allocations: 5.114 MB / 0.793 GB, free: 20.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/0.7289, allocations: 30.78 MB / 0.823 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.7312, allocations: 1.388 MB / 0.8244 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.7331, allocations: 1.332 MB / 0.8257 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.7332, allocations: 17.02 kB / 0.8257 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.7333, allocations: 54.19 kB / 0.8257 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.656e-06/0.7333, allocations: 0 / 0.8257 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.09029/0.8236, allocations: 22.8 MB / 0.848 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.8237, allocations: 73.41 kB / 0.8481 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.8275, allocations: 2.058 MB / 0.8501 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004359/0.828, allocations: 61.7 kB / 0.8501 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.8294, allocations: 2.009 MB / 0.8521 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008454/0.8303, allocations: 0.6811 MB / 0.8528 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/0.8307, allocations: 178.3 kB / 0.8529 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.8308, allocations: 309.1 kB / 0.8532 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.8332, allocations: 1.433 MB / 0.8546 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.836, allocations: 2.005 MB / 0.8566 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005344/0.8413, allocations: 3.695 MB / 0.8602 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.8414, allocations: 4 kB / 0.8602 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0121/0.8535, allocations: 5.665 MB / 0.8657 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.8536, allocations: 12 kB / 0.8658 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.8536, allocations: 16.88 kB / 0.8658 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007234/0.8608, allocations: 2.082 MB / 0.8678 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.8626, allocations: 381.5 kB / 0.8682 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03725/0.8998, allocations: 35.54 MB / 0.9029 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.9027, allocations: 127.9 kB / 0.903 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/0.9031, allocations: 84 kB / 0.9031 GB, free: 2.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.003011/0.9061, allocations: 1.522 MB / 0.9046 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/0.9068, allocations: 284.6 kB / 0.9048 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.9174, allocations: 5.205 MB / 0.9099 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.9175, allocations: 16 kB / 0.9099 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.833e-05/0.9175, allocations: 20 kB / 0.91 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.9176, allocations: 11.95 kB / 0.91 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/0.9349, allocations: 9.683 MB / 0.9194 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.935, allocations: 4 kB / 0.9194 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/0.9358, allocations: 227.8 kB / 0.9196 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005894/0.9417, allocations: 1.845 MB / 0.9214 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.9419, allocations: 40 kB / 0.9215 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03421/0.9761, allocations: 34.55 MB / 0.9552 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.9762, allocations: 18.17 kB / 0.9552 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009602/0.9858, allocations: 4.908 MB / 0.96 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.9872, allocations: 0.6264 MB / 0.9606 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.9876, allocations: 36 kB / 0.9607 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.9891, allocations: 131.8 kB / 0.9608 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005847/0.9897, allocations: 191.8 kB / 0.961 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.9898, allocations: 56 kB / 0.961 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001891/0.9917, allocations: 1.378 MB / 0.9624 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9917, allocations: 0 / 0.9624 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003441/0.9952, allocations: 1.047 MB / 0.9634 GB, free: 2.508 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/0.9955, allocations: 182.1 kB / 0.9636 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009679/1.005, allocations: 6.272 MB / 0.9697 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.005, allocations: 192 / 0.9697 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006621/1.012, allocations: 4.404 MB / 0.974 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006576/1.018, allocations: 0.9221 MB / 0.9749 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.033, allocations: 10.07 MB / 0.9847 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/1.036, allocations: 3.121 MB / 0.9878 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001992/1.038, allocations: 0.5237 MB / 0.9883 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/1.038, allocations: 143.4 kB / 0.9884 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/1.038, allocations: 0 / 0.9884 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.08929/1.128, allocations: 57.06 MB / 1.044 GB, free: 404 kB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)