Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005405/0.005404, allocations: 100.5 kB / 15.87 MB, free: 6.312 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: 198.5 kB / 16.79 MB, free: 6.242 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7616/0.7616, allocations: 122.9 MB / 413.5 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 63.91 kB / 0.4905 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4086, allocations: 77.91 MB / 0.5666 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03489/0.4435, allocations: 33.01 MB / 0.5988 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02363/0.4672, allocations: 14.78 MB / 0.6132 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005295/0.4725, allocations: 143.2 kB / 0.6134 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009982/0.4826, allocations: 3.396 MB / 0.6167 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.4929, allocations: 2.684 MB / 0.6193 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007559/0.5004, allocations: 2.137 MB / 0.6214 GB, free: 2.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01704/0.5175, allocations: 12.2 MB / 0.6333 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01964/0.5372, allocations: 10.36 MB / 0.6434 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008087/0.5453, allocations: 3.437 MB / 0.6468 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009187/0.5545, allocations: 4.096 MB / 0.6508 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002973/0.5576, allocations: 484 kB / 0.6512 GB, free: 4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/0.5638, allocations: 1.736 MB / 0.6529 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00511/0.5689, allocations: 2.595 MB / 0.6555 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.579, allocations: 3.115 MB / 0.6585 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02029/0.5994, allocations: 11 MB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.5994, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5995, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004986/0.6, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02499/0.625, allocations: 5.971 MB / 0.6751 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.625, allocations: 16.02 kB / 0.6751 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00931/0.6344, allocations: 1.138 MB / 0.6762 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009986/0.6444, allocations: 3.325 MB / 0.6795 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/0.6449, allocations: 374.4 kB / 0.6798 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.6473, allocations: 499.9 kB / 0.6803 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/0.6707, allocations: 8.001 MB / 0.6881 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003421/0.6711, allocations: 27.69 kB / 0.6881 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00211/0.6733, allocations: 216 kB / 0.6883 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001274/0.6746, allocations: 441.5 kB / 0.6888 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.6921, allocations: 6.081 MB / 0.6947 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0476/0.7398, allocations: 35.15 MB / 0.729 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.7427, allocations: 2.022 MB / 0.731 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.7453, allocations: 1.861 MB / 0.7328 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.7454, allocations: 18 kB / 0.7328 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.7455, allocations: 60.5 kB / 0.7329 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/0.7455, allocations: 4 kB / 0.7329 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.5202/1.266, allocations: 38.89 MB / 0.7709 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.266, allocations: 79.8 kB / 0.7709 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/1.269, allocations: 2.276 MB / 0.7732 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004225/1.27, allocations: 73.11 kB / 0.7732 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.271, allocations: 2.276 MB / 0.7755 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008591/1.272, allocations: 0.9375 MB / 0.7764 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009133/1.273, allocations: 0.5043 MB / 0.7769 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/1.273, allocations: 313 kB / 0.7772 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/1.275, allocations: 1.97 MB / 0.7791 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/1.278, allocations: 2.602 MB / 0.7816 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005013/1.283, allocations: 4.929 MB / 0.7864 GB, free: 134 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.283, allocations: 4 kB / 0.7865 GB, free: 134 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01231/1.295, allocations: 7.754 MB / 0.794 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.295, allocations: 12 kB / 0.794 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/1.295, allocations: 20 kB / 0.7941 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008343/1.304, allocations: 3.216 MB / 0.7972 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.305, allocations: 399.3 kB / 0.7976 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03294/1.338, allocations: 31.1 MB / 0.828 GB, free: 90.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.341, allocations: 163.8 kB / 0.8281 GB, free: 90.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/1.341, allocations: 104 kB / 0.8282 GB, free: 90.39 MB / 0.5762 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002858/1.344, allocations: 1.801 MB / 0.83 GB, free: 88.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000734/1.345, allocations: 336 kB / 0.8303 GB, free: 88.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.356, allocations: 7.345 MB / 0.8375 GB, free: 80.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/1.357, allocations: 30.84 kB / 0.8375 GB, free: 80.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.121e-05/1.357, allocations: 28 kB / 0.8375 GB, free: 80.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/1.357, allocations: 19.94 kB / 0.8375 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.377, allocations: 12.92 MB / 0.8502 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.377, allocations: 8.844 kB / 0.8502 GB, free: 67.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008836/1.378, allocations: 231.6 kB / 0.8504 GB, free: 67.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007464/1.385, allocations: 2.853 MB / 0.8532 GB, free: 64.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/1.386, allocations: 48 kB / 0.8532 GB, free: 64.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03198/1.418, allocations: 29.89 MB / 0.8824 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.418, allocations: 12.31 kB / 0.8824 GB, free: 33.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.429, allocations: 6.879 MB / 0.8891 GB, free: 26.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/1.431, allocations: 0.789 MB / 0.8899 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/1.432, allocations: 51.98 kB / 0.89 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.434, allocations: 171.8 kB / 0.8901 GB, free: 25.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/1.435, allocations: 249.5 kB / 0.8904 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.435, allocations: 72 kB / 0.8904 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002209/1.437, allocations: 1.529 MB / 0.8919 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.437, allocations: 1.422 kB / 0.8919 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004947/1.442, allocations: 1.375 MB / 0.8933 GB, free: 22.51 MB / 0.5762 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/1.443, allocations: 178.6 kB / 0.8934 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01/1.453, allocations: 6.884 MB / 0.9002 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.453, allocations: 4.25 kB / 0.9002 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006986/1.46, allocations: 4.42 MB / 0.9045 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006403/1.466, allocations: 1.034 MB / 0.9055 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.486, allocations: 12.48 MB / 0.9177 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004781/1.49, allocations: 3.646 MB / 0.9212 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002739/1.493, allocations: 0.5517 MB / 0.9218 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/1.494, allocations: 159.4 kB / 0.9219 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.494, allocations: 4 kB / 0.9219 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of Templates: time 0.4566/1.95, allocations: 75.18 MB / 0.9953 GB, free: 200.5 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)