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.09712/0.09712, allocations: 12.6 MB / 28.85 MB, free: 0.6406 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.0009958/0.0009956, allocations: 111.4 kB / 32.45 MB, free: 3.59 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.407/1.407, allocations: 205.1 MB / 241 MB, free: 12.39 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.001672/0.001672, allocations: 192.4 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4381/0.4381, allocations: 78.51 MB / 419.9 MB, free: 11.29 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.002612/0.002612, allocations: 139.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3486, allocations: 68.11 MB / 0.556 GB, free: 32.96 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007174/0.3558, allocations: 6.53 MB / 0.5624 GB, free: 28.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.3601, allocations: 1.833 MB / 0.5642 GB, free: 26.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.3612, allocations: 11 kB / 0.5642 GB, free: 26.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.3619, allocations: 226.3 kB / 0.5644 GB, free: 26.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.3641, allocations: 0.7227 MB / 0.5651 GB, free: 25.85 MB / 398.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.001512/0.3656, allocations: 0.6128 MB / 0.5657 GB, free: 25.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.3675, allocations: 1.426 MB / 0.5671 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.368, allocations: 333.4 kB / 0.5674 GB, free: 24.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008492/0.3688, allocations: 0.5929 MB / 0.568 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.3696, allocations: 0.7303 MB / 0.5687 GB, free: 23.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.3698, allocations: 101 kB / 0.5688 GB, free: 23.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.3704, allocations: 242 kB / 0.569 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.3707, allocations: 284.7 kB / 0.5693 GB, free: 23.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005283/0.3712, allocations: 0.6208 MB / 0.5699 GB, free: 22.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.3728, allocations: 1.524 MB / 0.5714 GB, free: 21.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3728, allocations: 0 / 0.5714 GB, free: 21.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3729, allocations: 3.938 kB / 0.5714 GB, free: 21.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.3729, allocations: 0 / 0.5714 GB, free: 21.57 MB / 398.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.008161/0.3811, allocations: 2.551 MB / 0.5739 GB, free: 19.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.3811, allocations: 17.56 kB / 0.5739 GB, free: 19.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.3863, allocations: 0.7744 MB / 0.5747 GB, free: 19.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3878, allocations: 0.7815 MB / 0.5754 GB, free: 18.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.3881, allocations: 258.9 kB / 0.5757 GB, free: 18.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3883, allocations: 81.25 kB / 0.5757 GB, free: 18.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.3905, allocations: 1.079 MB / 0.5768 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3905, allocations: 3.938 kB / 0.5768 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.3906, allocations: 39.98 kB / 0.5768 GB, free: 17.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.3906, allocations: 16 kB / 0.5769 GB, free: 17.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.3928, allocations: 1.117 MB / 0.5779 GB, free: 16.73 MB / 398.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.005661/0.3984, allocations: 3.452 MB / 0.5813 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.4002, allocations: 1.426 MB / 0.5827 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.4016, allocations: 0.7852 MB / 0.5835 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.4017, allocations: 16.98 kB / 0.5835 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4017, allocations: 43.56 kB / 0.5835 GB, free: 10.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.266e-06/0.4017, allocations: 0 / 0.5835 GB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.0222/0.4239, allocations: 6.613 MB / 0.59 GB, free: 4.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.424, allocations: 64.41 kB / 0.5901 GB, free: 4.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4252, allocations: 0.8845 MB / 0.5909 GB, free: 3.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.4254, allocations: 41.7 kB / 0.591 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.4257, allocations: 0.4928 MB / 0.5914 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.426, allocations: 343.1 kB / 0.5918 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.4264, allocations: 210.8 kB / 0.592 GB, free: 2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.4264, allocations: 345.9 kB / 0.5923 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.4278, allocations: 0.7326 MB / 0.593 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.4292, allocations: 0.8579 MB / 0.5938 GB, free: 36 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/0.4484, allocations: 4.861 MB / 0.5986 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4485, allocations: 0 / 0.5986 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01404/0.4625, allocations: 4.281 MB / 0.6028 GB, free: 6.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4626, allocations: 8 kB / 0.6028 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4626, allocations: 4 kB / 0.6028 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005907/0.4685, allocations: 1.73 MB / 0.6045 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.4699, allocations: 231.6 kB / 0.6047 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.4911, allocations: 9.051 MB / 0.6135 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.4929, allocations: 174.9 kB / 0.6137 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.493, allocations: 39.98 kB / 0.6137 GB, free: 11.46 MB / 430.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.000558/0.4936, allocations: 243.2 kB / 0.614 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.4939, allocations: 122.4 kB / 0.6141 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.5061, allocations: 4.014 MB / 0.618 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.5062, allocations: 8 kB / 0.618 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5062, allocations: 0 / 0.618 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.5063, allocations: 3.984 kB / 0.618 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.5211, allocations: 5.614 MB / 0.6235 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.5211, allocations: 0 / 0.6235 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/0.5219, allocations: 127.8 kB / 0.6236 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005495/0.5275, allocations: 1.741 MB / 0.6253 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.5277, allocations: 23.98 kB / 0.6253 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.5452, allocations: 8.045 MB / 0.6332 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5453, allocations: 4 kB / 0.6332 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.5598, allocations: 4.956 MB / 0.638 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/0.5604, allocations: 207.3 kB / 0.6382 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.5605, allocations: 16 kB / 0.6383 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5616, allocations: 111.9 kB / 0.6384 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007174/0.5623, allocations: 224.5 kB / 0.6386 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/0.5624, allocations: 24 kB / 0.6386 GB, free: 1.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007533/0.5631, allocations: 0.593 MB / 0.6392 GB, free: 1.035 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5631, allocations: 0 / 0.6392 GB, free: 1.035 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001196/0.5643, allocations: 443.4 kB / 0.6396 GB, free: 0.6016 MB / 446.1 MB 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.0002598/0.5646, allocations: 127.2 kB / 0.6397 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006355/0.571, allocations: 2.482 MB / 0.6422 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.571, allocations: 0 / 0.6422 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004404/0.5754, allocations: 1.617 MB / 0.6437 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.5762, allocations: 84.36 kB / 0.6438 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.5797, allocations: 2.041 MB / 0.6458 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.5803, allocations: 1.106 MB / 0.6469 GB, free: 9.059 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.5807, allocations: 90.77 kB / 0.647 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.5809, allocations: 67.42 kB / 0.647 GB, free: 8.898 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5809, allocations: 0 / 0.647 GB, free: 8.898 MB / 462.1 MB Notification: Performance of Templates: time 0.03462/0.6155, allocations: 23.43 MB / 0.6699 GB, free: 1.473 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)