Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08685/0.08685, allocations: 12.59 MB / 28.22 MB, free: 0.7344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4737/0.4737, allocations: 78.5 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 138.5 kB / 0.5559 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1335, allocations: 68.13 MB / 0.6224 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006253/0.1398, allocations: 5.402 MB / 0.6277 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1429, allocations: 1.607 MB / 0.6292 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008414/0.1438, allocations: 8 kB / 0.6292 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.1445, allocations: 182.4 kB / 0.6294 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.1465, allocations: 0.6835 MB / 0.6301 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1476, allocations: 0.4977 MB / 0.6306 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1487, allocations: 1.105 MB / 0.6317 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.1491, allocations: 270.5 kB / 0.6319 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.1497, allocations: 473.9 kB / 0.6324 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006833/0.1504, allocations: 0.6184 MB / 0.633 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1506, allocations: 84 kB / 0.633 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.151, allocations: 219.9 kB / 0.6333 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.1513, allocations: 239 kB / 0.6335 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.1517, allocations: 0.5125 MB / 0.634 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.1529, allocations: 1.273 MB / 0.6352 GB, free: 2.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1529, allocations: 0 / 0.6352 GB, free: 2.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1529, allocations: 0 / 0.6352 GB, free: 2.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1529, allocations: 0 / 0.6352 GB, free: 2.316 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006773/0.1597, allocations: 2.173 MB / 0.6374 GB, free: 92 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1598, allocations: 11.98 kB / 0.6374 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.1641, allocations: 0.6546 MB / 0.638 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.1649, allocations: 0.6581 MB / 0.6386 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.1651, allocations: 184.1 kB / 0.6388 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1653, allocations: 63.98 kB / 0.6389 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.1672, allocations: 0.8809 MB / 0.6397 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1672, allocations: 0 / 0.6397 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.1673, allocations: 24 kB / 0.6398 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.1673, allocations: 19.94 kB / 0.6398 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.1694, allocations: 0.9147 MB / 0.6407 GB, free: 12.61 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.1736, allocations: 2.475 MB / 0.6431 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.1755, allocations: 1.124 MB / 0.6442 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.1769, allocations: 0.6498 MB / 0.6448 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.13e-05/0.177, allocations: 16.98 kB / 0.6448 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.177, allocations: 43.56 kB / 0.6449 GB, free: 8.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.195e-06/0.177, allocations: 0 / 0.6449 GB, free: 8.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02253/0.1995, allocations: 5.529 MB / 0.6503 GB, free: 2.535 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1996, allocations: 64.41 kB / 0.6503 GB, free: 2.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2006, allocations: 0.7631 MB / 0.6511 GB, free: 1.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.2008, allocations: 41.7 kB / 0.6511 GB, free: 1.645 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.2011, allocations: 396.8 kB / 0.6515 GB, free: 1.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.2014, allocations: 295.7 kB / 0.6518 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.2018, allocations: 186.8 kB / 0.652 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2019, allocations: 345.9 kB / 0.6523 GB, free: 436 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.2034, allocations: 0.6194 MB / 0.6529 GB, free: 15.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.2049, allocations: 0.7349 MB / 0.6536 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.2224, allocations: 4.214 MB / 0.6577 GB, free: 10.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.2225, allocations: 0 / 0.6577 GB, free: 10.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0122/0.2347, allocations: 3.598 MB / 0.6612 GB, free: 7.188 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2347, allocations: 4 kB / 0.6613 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2347, allocations: 4 kB / 0.6613 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00579/0.2405, allocations: 1.511 MB / 0.6627 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.2415, allocations: 183.7 kB / 0.6629 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.2609, allocations: 8.137 MB / 0.6709 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.2622, allocations: 147.1 kB / 0.671 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.2624, allocations: 35.98 kB / 0.671 GB, free: 13.02 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004876/0.2629, allocations: 243.5 kB / 0.6713 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.2631, allocations: 98.72 kB / 0.6714 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.2747, allocations: 3.395 MB / 0.6747 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.2748, allocations: 15.98 kB / 0.6747 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2748, allocations: 3.938 kB / 0.6747 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.2748, allocations: 3.984 kB / 0.6747 GB, free: 9.238 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.2889, allocations: 4.765 MB / 0.6793 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.2889, allocations: 3.938 kB / 0.6794 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.2895, allocations: 99.88 kB / 0.6794 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005854/0.2954, allocations: 1.53 MB / 0.6809 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.2955, allocations: 19.98 kB / 0.681 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.3133, allocations: 7.342 MB / 0.6881 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3133, allocations: 3.938 kB / 0.6881 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/0.3272, allocations: 4.275 MB / 0.6923 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.3276, allocations: 183.7 kB / 0.6925 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.3278, allocations: 16 kB / 0.6925 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/0.3288, allocations: 87.83 kB / 0.6926 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/0.3294, allocations: 176.5 kB / 0.6928 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.3295, allocations: 19.98 kB / 0.6928 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007193/0.3302, allocations: 0.5146 MB / 0.6933 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3303, allocations: 0 / 0.6933 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001254/0.3315, allocations: 379.6 kB / 0.6936 GB, free: 5.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002901/0.3318, allocations: 123.2 kB / 0.6938 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00606/0.3379, allocations: 2.121 MB / 0.6958 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3379, allocations: 0 / 0.6958 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004162/0.3421, allocations: 1.353 MB / 0.6971 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.3429, allocations: 74.75 kB / 0.6972 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.3465, allocations: 1.751 MB / 0.6989 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.3471, allocations: 1.029 MB / 0.6999 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003384/0.3474, allocations: 93.62 kB / 0.7 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3477, allocations: 55.42 kB / 0.7001 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.3477, allocations: 0 / 0.7001 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.3024/0.6501, allocations: 21.4 MB / 0.721 GB, free: 85.68 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)