Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.118/0.118, allocations: 12.59 MB / 28.23 MB, free: 1.047 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.001302/0.001302, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.405/1.405, allocations: 205.1 MB / 240.4 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.001317/0.001317, allocations: 184.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.4648/0.4648, allocations: 78.5 MB / 419.3 MB, free: 11.23 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.00419/0.00419, allocations: 142.1 kB / 0.5559 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1721, allocations: 68.13 MB / 0.6224 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008617/0.1807, allocations: 6.546 MB / 0.6288 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.1852, allocations: 1.826 MB / 0.6306 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1866, allocations: 15.94 kB / 0.6306 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008962/0.1876, allocations: 226 kB / 0.6308 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.1904, allocations: 0.7611 MB / 0.6315 GB, free: 5.988 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1921, allocations: 0.6229 MB / 0.6322 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.1947, allocations: 1.421 MB / 0.6335 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006761/0.1954, allocations: 328.4 kB / 0.6339 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1965, allocations: 0.595 MB / 0.6344 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.1977, allocations: 0.731 MB / 0.6352 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.1981, allocations: 100 kB / 0.6352 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.1988, allocations: 239.9 kB / 0.6355 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.1992, allocations: 278.8 kB / 0.6357 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.2, allocations: 0.629 MB / 0.6364 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.2025, allocations: 1.532 MB / 0.6379 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2026, allocations: 0 / 0.6379 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2026, allocations: 0 / 0.6379 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.528e-05/0.2026, allocations: 0 / 0.6379 GB, free: 15.5 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008606/0.2113, allocations: 2.594 MB / 0.6404 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2113, allocations: 19.98 kB / 0.6404 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/0.2165, allocations: 0.7874 MB / 0.6412 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.2182, allocations: 0.7734 MB / 0.6419 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.2185, allocations: 260.2 kB / 0.6422 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.2188, allocations: 76 kB / 0.6422 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.2213, allocations: 1.085 MB / 0.6433 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2213, allocations: 7.875 kB / 0.6433 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.2214, allocations: 32 kB / 0.6433 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2214, allocations: 16 kB / 0.6434 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.2239, allocations: 1.124 MB / 0.6445 GB, free: 8.578 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.006187/0.2301, allocations: 3.464 MB / 0.6478 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.2324, allocations: 1.435 MB / 0.6492 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.234, allocations: 0.7852 MB / 0.65 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2342, allocations: 9 kB / 0.65 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2342, allocations: 43.56 kB / 0.6501 GB, free: 2.566 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.2342, allocations: 4 kB / 0.6501 GB, free: 2.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02567/0.2599, allocations: 6.61 MB / 0.6565 GB, free: 11.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.26, allocations: 64.41 kB / 0.6566 GB, free: 11.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.2614, allocations: 0.8923 MB / 0.6575 GB, free: 10.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002633/0.2617, allocations: 37.7 kB / 0.6575 GB, free: 10.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2621, allocations: 0.5051 MB / 0.658 GB, free: 10.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.2627, allocations: 364.9 kB / 0.6583 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005636/0.2633, allocations: 206.9 kB / 0.6585 GB, free: 9.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2635, allocations: 349.9 kB / 0.6589 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.2653, allocations: 0.7326 MB / 0.6596 GB, free: 8.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.2672, allocations: 0.8619 MB / 0.6604 GB, free: 7.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/0.2865, allocations: 4.846 MB / 0.6652 GB, free: 2.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.2866, allocations: 4 kB / 0.6652 GB, free: 2.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01457/0.3012, allocations: 4.285 MB / 0.6693 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.3012, allocations: 4 kB / 0.6693 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3013, allocations: 8 kB / 0.6694 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/0.3075, allocations: 1.73 MB / 0.671 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3088, allocations: 231.7 kB / 0.6713 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/0.3308, allocations: 9.054 MB / 0.6801 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.3324, allocations: 187.2 kB / 0.6803 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.3326, allocations: 39.98 kB / 0.6803 GB, free: 3.246 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006173/0.3333, allocations: 239 kB / 0.6805 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.3336, allocations: 135.1 kB / 0.6807 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.3469, allocations: 4.014 MB / 0.6846 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.3469, allocations: 15.94 kB / 0.6846 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3469, allocations: 0 / 0.6846 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.347, allocations: 7.984 kB / 0.6846 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.3625, allocations: 5.594 MB / 0.6901 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.3626, allocations: 7.984 kB / 0.6901 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/0.3634, allocations: 131.8 kB / 0.6902 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00596/0.3694, allocations: 1.741 MB / 0.6919 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.3697, allocations: 23.98 kB / 0.6919 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.3894, allocations: 8.058 MB / 0.6998 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3894, allocations: 3.984 kB / 0.6998 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/0.4057, allocations: 4.961 MB / 0.7047 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.4061, allocations: 208.1 kB / 0.7049 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.4065, allocations: 20 kB / 0.7049 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.4077, allocations: 111.9 kB / 0.705 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008819/0.4086, allocations: 216.6 kB / 0.7052 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.4087, allocations: 28.08 kB / 0.7052 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009424/0.4097, allocations: 0.5969 MB / 0.7058 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4097, allocations: 0 / 0.7058 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001624/0.4113, allocations: 443.6 kB / 0.7062 GB, free: 8.355 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0003716/0.4117, allocations: 131.1 kB / 0.7063 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007159/0.4189, allocations: 2.486 MB / 0.7088 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4189, allocations: 4.188 kB / 0.7088 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/0.4243, allocations: 1.604 MB / 0.7103 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4255, allocations: 99.5 kB / 0.7104 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.4299, allocations: 2.086 MB / 0.7125 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.4307, allocations: 1.099 MB / 0.7135 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004172/0.4312, allocations: 86.77 kB / 0.7136 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4314, allocations: 63.42 kB / 0.7137 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of SimCode: time 1.463e-06/0.4314, allocations: 4 kB / 0.7137 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of Templates: time 0.2928/0.7243, allocations: 23.64 MB / 0.7368 GB, free: 78.86 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)