Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07285/0.07285, allocations: 12.6 MB / 28.9 MB, free: 0.7461 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.000913/0.000913, allocations: 111.5 kB / 32.51 MB, free: 3.68 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.182/1.182, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001276/0.001276, allocations: 188.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.4207/0.4207, 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.00252/0.00252, allocations: 138.4 kB / 0.5565 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.124, allocations: 68.13 MB / 0.6231 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007087/0.1312, allocations: 6.484 MB / 0.6294 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.135, allocations: 1.826 MB / 0.6312 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009549/0.136, allocations: 12 kB / 0.6312 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.1368, allocations: 226 kB / 0.6314 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.139, allocations: 0.7217 MB / 0.6321 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1404, allocations: 0.6075 MB / 0.6327 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.1422, allocations: 1.417 MB / 0.6341 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.1426, allocations: 324.4 kB / 0.6344 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.1433, allocations: 0.5951 MB / 0.635 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.1441, allocations: 0.731 MB / 0.6357 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1442, allocations: 104 kB / 0.6358 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.1447, allocations: 243.8 kB / 0.636 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.1449, allocations: 274.8 kB / 0.6363 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.1454, allocations: 0.6213 MB / 0.6369 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1468, allocations: 1.526 MB / 0.6384 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1468, allocations: 4 kB / 0.6384 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1468, allocations: 0 / 0.6384 GB, free: 15.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.1468, allocations: 0 / 0.6384 GB, free: 15.75 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007378/0.1542, allocations: 2.567 MB / 0.6409 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1543, allocations: 11.98 kB / 0.6409 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.159, allocations: 0.7865 MB / 0.6417 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1601, allocations: 0.7647 MB / 0.6424 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.1604, allocations: 256.2 kB / 0.6427 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1606, allocations: 84 kB / 0.6427 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.1628, allocations: 1.085 MB / 0.6438 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1629, allocations: 3.938 kB / 0.6438 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.163, allocations: 32 kB / 0.6438 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.163, allocations: 16 kB / 0.6439 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.1654, allocations: 1.12 MB / 0.6449 GB, free: 8.871 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.005502/0.1709, allocations: 3.44 MB / 0.6483 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.1731, allocations: 1.427 MB / 0.6497 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.1747, allocations: 0.789 MB / 0.6505 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1748, allocations: 13 kB / 0.6505 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1748, allocations: 43.55 kB / 0.6505 GB, free: 2.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.605e-06/0.1748, allocations: 0 / 0.6505 GB, free: 2.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02486/0.1997, allocations: 6.606 MB / 0.657 GB, free: 12.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1998, allocations: 68.41 kB / 0.657 GB, free: 12.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.201, allocations: 0.9001 MB / 0.6579 GB, free: 11.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.2012, allocations: 37.7 kB / 0.658 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.2016, allocations: 0.4968 MB / 0.6584 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.2019, allocations: 339.1 kB / 0.6588 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/0.2024, allocations: 198.8 kB / 0.659 GB, free: 10.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2025, allocations: 353.9 kB / 0.6593 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.2041, allocations: 0.717 MB / 0.66 GB, free: 9.094 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.2059, allocations: 0.8579 MB / 0.6608 GB, free: 8.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/0.2239, allocations: 4.83 MB / 0.6655 GB, free: 3.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.224, allocations: 0 / 0.6655 GB, free: 3.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01345/0.2374, allocations: 4.276 MB / 0.6697 GB, free: 15.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.2375, allocations: 6.969 kB / 0.6697 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.2375, allocations: 7.938 kB / 0.6697 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/0.2435, allocations: 1.807 MB / 0.6715 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.2445, allocations: 215.7 kB / 0.6717 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.2657, allocations: 9.312 MB / 0.6808 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.2671, allocations: 171 kB / 0.681 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.2673, allocations: 39.98 kB / 0.681 GB, free: 3.336 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005232/0.2678, allocations: 249 kB / 0.6812 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.2681, allocations: 126.4 kB / 0.6814 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.2808, allocations: 4.006 MB / 0.6853 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.2808, allocations: 8 kB / 0.6853 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2808, allocations: 0 / 0.6853 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.2809, allocations: 11.91 kB / 0.6853 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.2952, allocations: 5.614 MB / 0.6908 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2952, allocations: 0 / 0.6908 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.2959, allocations: 135.8 kB / 0.6909 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005664/0.3015, allocations: 1.753 MB / 0.6926 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.3017, allocations: 16 kB / 0.6926 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/0.3199, allocations: 8.064 MB / 0.7005 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3199, allocations: 0 / 0.7005 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.3346, allocations: 4.968 MB / 0.7054 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.335, allocations: 207.4 kB / 0.7056 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.3352, allocations: 16 kB / 0.7056 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.3363, allocations: 115.8 kB / 0.7057 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/0.337, allocations: 216.7 kB / 0.7059 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.203e-05/0.3371, allocations: 20 kB / 0.7059 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007547/0.3378, allocations: 0.6047 MB / 0.7065 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.3378, allocations: 8 kB / 0.7065 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001182/0.339, allocations: 435.5 kB / 0.7069 GB, free: 8.426 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0002566/0.3393, allocations: 135.5 kB / 0.707 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006828/0.3461, allocations: 2.492 MB / 0.7095 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3461, allocations: 8 kB / 0.7095 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.3507, allocations: 1.593 MB / 0.711 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.3515, allocations: 85.11 kB / 0.7111 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.3552, allocations: 2.039 MB / 0.7131 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.3559, allocations: 1.099 MB / 0.7142 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.3562, allocations: 75.41 kB / 0.7143 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.3562, allocations: 3.938 kB / 0.7143 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of Templates: time 0.2623/0.6186, allocations: 20.1 MB / 0.7339 GB, free: 79.83 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)