Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 106.8 kB / 17.04 MB, free: 6.059 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.001256/0.001256, allocations: 196 kB / 17.98 MB, free: 5.148 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7172/0.7172, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3601, allocations: 76.14 MB / 0.5576 GB, free: 36.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04121/0.4013, allocations: 41.16 MB / 0.5978 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02604/0.4274, allocations: 15.09 MB / 0.6125 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00838/0.4359, allocations: 187.1 kB / 0.6127 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.4482, allocations: 4.466 MB / 0.617 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009882/0.4581, allocations: 2.796 MB / 0.6198 GB, free: 4.926 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009369/0.4675, allocations: 3.156 MB / 0.6229 GB, free: 1.781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01542/0.483, allocations: 11.4 MB / 0.634 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.4991, allocations: 12.49 MB / 0.6462 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009072/0.5082, allocations: 4.81 MB / 0.6509 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009643/0.5178, allocations: 5.39 MB / 0.6562 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003279/0.5212, allocations: 0.9492 MB / 0.6571 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005901/0.5271, allocations: 2.048 MB / 0.6591 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005824/0.5329, allocations: 3.695 MB / 0.6627 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01009/0.543, allocations: 4.287 MB / 0.6669 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.5601, allocations: 14.28 MB / 0.6808 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.5602, allocations: 0 / 0.6808 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.58e-06/0.5602, allocations: 0 / 0.6808 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003808/0.5606, allocations: 3.938 kB / 0.6808 GB, free: 6.168 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01789/0.5785, allocations: 7.6 MB / 0.6882 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.5785, allocations: 12.03 kB / 0.6883 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009617/0.5882, allocations: 1.518 MB / 0.6897 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.5986, allocations: 4.435 MB / 0.6941 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.599, allocations: 460.4 kB / 0.6945 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.6009, allocations: 0.5978 MB / 0.6951 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.6225, allocations: 10.69 MB / 0.7055 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002016/0.6228, allocations: 27.77 kB / 0.7056 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.6241, allocations: 263.9 kB / 0.7058 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/0.6265, allocations: 0.7729 MB / 0.7066 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.6441, allocations: 8.561 MB / 0.7149 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3781/1.022, allocations: 46.52 MB / 0.7603 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007371/1.03, allocations: 4.311 MB / 0.7646 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006745/1.036, allocations: 3.707 MB / 0.7682 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/1.037, allocations: 43.25 kB / 0.7682 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/1.037, allocations: 77.73 kB / 0.7683 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 6.061e-06/1.037, allocations: 0 / 0.7683 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4176/1.455, allocations: 122.7 MB / 0.8881 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.455, allocations: 111.9 kB / 0.8883 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/1.458, allocations: 2.681 MB / 0.8909 GB, free: 30.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.459, allocations: 125.7 kB / 0.891 GB, free: 30.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.46, allocations: 2.674 MB / 0.8936 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.462, allocations: 1.948 MB / 0.8955 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/1.463, allocations: 0.9248 MB / 0.8964 GB, free: 24.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.357e-05/1.463, allocations: 309.1 kB / 0.8967 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004488/1.468, allocations: 4.079 MB / 0.9007 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/1.473, allocations: 5.019 MB / 0.9056 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.483, allocations: 9.848 MB / 0.9152 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.483, allocations: 4 kB / 0.9152 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03549/1.518, allocations: 17 MB / 0.9318 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/1.519, allocations: 19.94 kB / 0.9318 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/1.519, allocations: 20.5 kB / 0.9318 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0303/1.549, allocations: 9.085 MB / 0.9407 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.551, allocations: 0.5226 MB / 0.9412 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3827/1.934, allocations: 76.95 MB / 1.016 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/1.939, allocations: 282.6 kB / 1.017 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006682/1.939, allocations: 193.8 kB / 1.017 GB, free: 202.1 MB / 0.6544 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004447/1.944, allocations: 2.422 MB / 1.019 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.945, allocations: 477.2 kB / 1.02 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0363/1.981, allocations: 16.82 MB / 1.036 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.731e-05/1.981, allocations: 55.09 kB / 1.036 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002132/1.982, allocations: 71.41 kB / 1.036 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/1.982, allocations: 29.58 kB / 1.036 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04588/2.028, allocations: 25.67 MB / 1.061 GB, free: 184.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.786e-05/2.028, allocations: 7.375 kB / 1.061 GB, free: 184.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/2.03, allocations: 314.6 kB / 1.062 GB, free: 184.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02485/2.054, allocations: 8.272 MB / 1.07 GB, free: 180.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009224/2.055, allocations: 115.9 kB / 1.07 GB, free: 180.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07761/2.133, allocations: 73.82 MB / 1.142 GB, free: 105.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.133, allocations: 13.72 kB / 1.142 GB, free: 105.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03705/2.17, allocations: 21.57 MB / 1.163 GB, free: 83.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004257/2.174, allocations: 1.36 MB / 1.164 GB, free: 82.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/2.176, allocations: 108 kB / 1.164 GB, free: 82.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/2.179, allocations: 293.2 kB / 1.165 GB, free: 82.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002018/2.181, allocations: 0.5221 MB / 1.165 GB, free: 81.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004389/2.182, allocations: 144 kB / 1.165 GB, free: 81.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002202/2.184, allocations: 1.78 MB / 1.167 GB, free: 79.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.062e-06/2.184, allocations: 4 kB / 1.167 GB, free: 79.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00858/2.193, allocations: 2.461 MB / 1.169 GB, free: 77.28 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/2.194, allocations: 240.9 kB / 1.17 GB, free: 77.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02196/2.216, allocations: 14.54 MB / 1.184 GB, free: 62.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.94e-05/2.216, allocations: 4 kB / 1.184 GB, free: 62.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01529/2.231, allocations: 9.345 MB / 1.193 GB, free: 52.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00615/2.237, allocations: 1.369 MB / 1.194 GB, free: 51.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/2.26, allocations: 15.59 MB / 1.21 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005441/2.265, allocations: 4.893 MB / 1.214 GB, free: 30.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002548/2.268, allocations: 0.7449 MB / 1.215 GB, free: 30.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/2.268, allocations: 191.4 kB / 1.215 GB, free: 30 MB / 0.6544 GB Notification: Performance of SimCode: time 1.674e-06/2.268, allocations: 4 kB / 1.215 GB, free: 30 MB / 0.6544 GB Notification: Performance of Templates: time 0.4254/2.694, allocations: 144.7 MB / 1.357 GB, free: 122.5 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)