Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07549/0.07549, allocations: 12.6 MB / 28.9 MB, free: 0.6094 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.001002/0.001002, allocations: 111.5 kB / 32.5 MB, free: 3.551 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.222/1.222, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001189/0.001189, allocations: 192.5 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3881/0.3881, allocations: 78.51 MB / 420 MB, free: 11.27 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.002456/0.002457, allocations: 143.8 kB / 0.5565 GB, free: 28.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1036, allocations: 68.13 MB / 0.6231 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006072/0.1097, allocations: 6.418 MB / 0.6293 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.1127, allocations: 1.818 MB / 0.6311 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.1131, allocations: 15.94 kB / 0.6311 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.1136, allocations: 214.1 kB / 0.6313 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.115, allocations: 0.7296 MB / 0.632 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1161, allocations: 0.6037 MB / 0.6326 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1173, allocations: 1.394 MB / 0.634 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.1177, allocations: 328.2 kB / 0.6343 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.1183, allocations: 0.5835 MB / 0.6349 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.1189, allocations: 0.7194 MB / 0.6356 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1191, allocations: 100 kB / 0.6357 GB, free: 2.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.1195, allocations: 239.8 kB / 0.6359 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1197, allocations: 274.8 kB / 0.6362 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.1201, allocations: 0.6213 MB / 0.6368 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1214, allocations: 1.514 MB / 0.6382 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1214, allocations: 3.938 kB / 0.6383 GB, free: 15.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1214, allocations: 0 / 0.6383 GB, free: 15.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1215, allocations: 0 / 0.6383 GB, free: 15.81 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007103/0.1286, allocations: 2.528 MB / 0.6407 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1286, allocations: 19.97 kB / 0.6407 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.1333, allocations: 0.7749 MB / 0.6415 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1344, allocations: 0.7644 MB / 0.6422 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.1347, allocations: 256.2 kB / 0.6425 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1348, allocations: 80 kB / 0.6426 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.1371, allocations: 1.073 MB / 0.6436 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1371, allocations: 7.938 kB / 0.6436 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.1372, allocations: 31.94 kB / 0.6437 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1373, allocations: 20 kB / 0.6437 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.1396, allocations: 1.113 MB / 0.6448 GB, free: 8.992 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.005342/0.145, allocations: 3.42 MB / 0.6481 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.147, allocations: 1.42 MB / 0.6495 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.1486, allocations: 0.7773 MB / 0.6502 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.1487, allocations: 16.98 kB / 0.6503 GB, free: 3.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1487, allocations: 39.56 kB / 0.6503 GB, free: 3.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.916e-06/0.1487, allocations: 4 kB / 0.6503 GB, free: 3.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02515/0.1739, allocations: 6.746 MB / 0.6569 GB, free: 12.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.174, allocations: 60.41 kB / 0.6569 GB, free: 12.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1752, allocations: 0.8915 MB / 0.6578 GB, free: 11.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.1754, allocations: 41.7 kB / 0.6579 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.1758, allocations: 0.489 MB / 0.6583 GB, free: 10.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.1762, allocations: 339.1 kB / 0.6587 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.1766, allocations: 194.8 kB / 0.6588 GB, free: 10.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1767, allocations: 345.9 kB / 0.6592 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.1783, allocations: 0.717 MB / 0.6599 GB, free: 9.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.18, allocations: 0.8384 MB / 0.6607 GB, free: 8.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/0.1975, allocations: 4.783 MB / 0.6654 GB, free: 3.449 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.1975, allocations: 0 / 0.6654 GB, free: 3.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01311/0.2107, allocations: 4.261 MB / 0.6695 GB, free: 15.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.2107, allocations: 7.938 kB / 0.6695 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2107, allocations: 4 kB / 0.6695 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006009/0.2167, allocations: 1.866 MB / 0.6714 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.2178, allocations: 199.7 kB / 0.6715 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.2391, allocations: 9.077 MB / 0.6804 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.2406, allocations: 174.9 kB / 0.6806 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.2408, allocations: 43.98 kB / 0.6806 GB, free: 3.648 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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.000554/0.2414, allocations: 249.3 kB / 0.6809 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.2417, allocations: 118.5 kB / 0.681 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.2543, allocations: 4.002 MB / 0.6849 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.2543, allocations: 12 kB / 0.6849 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2543, allocations: 3.938 kB / 0.6849 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.2543, allocations: 7.969 kB / 0.6849 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.2689, allocations: 5.621 MB / 0.6904 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.2689, allocations: 0 / 0.6904 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.2696, allocations: 127.8 kB / 0.6905 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005602/0.2752, allocations: 1.734 MB / 0.6922 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.2754, allocations: 19.98 kB / 0.6922 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.2935, allocations: 8.064 MB / 0.7001 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.2936, allocations: 7.938 kB / 0.7001 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.3083, allocations: 4.96 MB / 0.705 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.3087, allocations: 203.4 kB / 0.7051 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.3089, allocations: 16 kB / 0.7052 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.31, allocations: 115.9 kB / 0.7053 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007106/0.3107, allocations: 220.5 kB / 0.7055 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.3109, allocations: 31.92 kB / 0.7055 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007661/0.3116, allocations: 0.5927 MB / 0.7061 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3116, allocations: 0 / 0.7061 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001287/0.3129, allocations: 431.5 kB / 0.7065 GB, free: 8.766 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.0002928/0.3132, allocations: 131.2 kB / 0.7066 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006639/0.3199, allocations: 2.472 MB / 0.709 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3199, allocations: 0 / 0.709 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00456/0.3245, allocations: 1.593 MB / 0.7106 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.3252, allocations: 85.2 kB / 0.7107 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.3289, allocations: 1.972 MB / 0.7126 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.3296, allocations: 1.08 MB / 0.7137 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.3299, allocations: 75.41 kB / 0.7137 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.3299, allocations: 4 kB / 0.7137 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.2556/0.5855, allocations: 20.19 MB / 0.7335 GB, free: 79.59 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)