Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08151/0.08151, allocations: 12.6 MB / 28.9 MB, free: 0.6367 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.001268/0.001268, allocations: 115.4 kB / 32.5 MB, free: 3.578 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.417/1.417, allocations: 205.1 MB / 241.1 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.001651/0.001651, allocations: 192.5 kB / 291.4 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.4493/0.4493, allocations: 78.52 MB / 420 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.003998/0.003998, allocations: 147.8 kB / 0.5565 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1122, allocations: 68.14 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007184/0.1194, allocations: 5.745 MB / 0.6287 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.1228, allocations: 1.701 MB / 0.6303 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.1232, allocations: 12 kB / 0.6304 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.1237, allocations: 194.3 kB / 0.6305 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.1254, allocations: 0.7349 MB / 0.6313 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1266, allocations: 0.5535 MB / 0.6318 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1281, allocations: 1.229 MB / 0.633 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.1285, allocations: 187.1 kB / 0.6332 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.1291, allocations: 0.5173 MB / 0.6337 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007632/0.1299, allocations: 0.6338 MB / 0.6343 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.13, allocations: 92 kB / 0.6344 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.1305, allocations: 223.9 kB / 0.6346 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.1307, allocations: 238.9 kB / 0.6348 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.1312, allocations: 0.5397 MB / 0.6354 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.1328, allocations: 1.338 MB / 0.6367 GB, free: 1.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1328, allocations: 4 kB / 0.6367 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1328, allocations: 0 / 0.6367 GB, free: 1.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1328, allocations: 0 / 0.6367 GB, free: 1.43 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008239/0.1411, allocations: 2.359 MB / 0.639 GB, free: 15.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1411, allocations: 15.98 kB / 0.639 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/0.1465, allocations: 0.7719 MB / 0.6397 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1478, allocations: 0.7018 MB / 0.6404 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.1482, allocations: 247.5 kB / 0.6407 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.1484, allocations: 68 kB / 0.6407 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.1506, allocations: 0.9433 MB / 0.6417 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1506, allocations: 3.938 kB / 0.6417 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.1507, allocations: 28 kB / 0.6417 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1507, allocations: 16 kB / 0.6417 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.1531, allocations: 0.9694 MB / 0.6426 GB, free: 11.17 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.005996/0.1591, allocations: 3.14 MB / 0.6457 GB, free: 7.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.1614, allocations: 1.241 MB / 0.6469 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.163, allocations: 0.624 MB / 0.6475 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-05/0.1631, allocations: 16.64 kB / 0.6475 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1631, allocations: 39.22 kB / 0.6476 GB, free: 5.828 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.986e-06/0.1631, allocations: 3.938 kB / 0.6476 GB, free: 5.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02999/0.1931, allocations: 6.67 MB / 0.6541 GB, free: 15.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1932, allocations: 71.94 kB / 0.6542 GB, free: 15.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.1944, allocations: 0.7905 MB / 0.6549 GB, free: 14.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.1946, allocations: 41.7 kB / 0.655 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.195, allocations: 433.1 kB / 0.6554 GB, free: 13.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.1954, allocations: 305.4 kB / 0.6557 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.1957, allocations: 174.6 kB / 0.6559 GB, free: 13.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1959, allocations: 341.9 kB / 0.6562 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.1975, allocations: 0.6425 MB / 0.6568 GB, free: 12.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.1993, allocations: 0.7589 MB / 0.6575 GB, free: 11.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01927/0.2186, allocations: 4.446 MB / 0.6619 GB, free: 7.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2186, allocations: 0 / 0.6619 GB, free: 7.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01457/0.2331, allocations: 4.005 MB / 0.6658 GB, free: 3.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.2332, allocations: 8 kB / 0.6658 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2332, allocations: 4 kB / 0.6658 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006871/0.24, allocations: 1.874 MB / 0.6676 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.2409, allocations: 155.8 kB / 0.6678 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/0.2649, allocations: 9.091 MB / 0.6767 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.2663, allocations: 159.2 kB / 0.6768 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.2664, allocations: 32 kB / 0.6769 GB, free: 7.539 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (92): * Single equations (assignments): 91 * 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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004671/0.2669, allocations: 222.3 kB / 0.6771 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.2671, allocations: 107.3 kB / 0.6772 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.2813, allocations: 3.786 MB / 0.6809 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.2813, allocations: 8 kB / 0.6809 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2813, allocations: 0 / 0.6809 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.2813, allocations: 7.969 kB / 0.6809 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.2976, allocations: 5.294 MB / 0.686 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.2976, allocations: 0 / 0.686 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.2982, allocations: 87.89 kB / 0.6861 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006634/0.3048, allocations: 1.741 MB / 0.6878 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.305, allocations: 19.98 kB / 0.6879 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.3261, allocations: 8.093 MB / 0.6958 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3261, allocations: 0 / 0.6958 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/0.3421, allocations: 4.654 MB / 0.7003 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.3425, allocations: 196.2 kB / 0.7005 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.3427, allocations: 15.94 kB / 0.7005 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/0.3436, allocations: 87.89 kB / 0.7006 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/0.3443, allocations: 208.6 kB / 0.7008 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.3444, allocations: 20 kB / 0.7008 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000769/0.3452, allocations: 0.5341 MB / 0.7013 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 0 / 0.7013 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00123/0.3464, allocations: 403.7 kB / 0.7017 GB, free: 13.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002645/0.3467, allocations: 127 kB / 0.7018 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006899/0.3536, allocations: 2.208 MB / 0.704 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3536, allocations: 0.5625 kB / 0.704 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005043/0.3586, allocations: 1.436 MB / 0.7054 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.3593, allocations: 75.31 kB / 0.7055 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.3626, allocations: 1.678 MB / 0.7071 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.3633, allocations: 1.029 MB / 0.7081 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002874/0.3636, allocations: 78.17 kB / 0.7082 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3638, allocations: 59.42 kB / 0.7082 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.3638, allocations: 0 / 0.7082 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of Templates: time 0.27/0.6339, allocations: 22.43 MB / 0.7301 GB, free: 82.71 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)