Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 100.4 kB / 16.41 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.1 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 184.5 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4533/0.4533, allocations: 78.53 MB / 419.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 80.09 kB / 0.5543 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3174, allocations: 68.18 MB / 0.6209 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005108/0.3226, allocations: 6.472 MB / 0.6272 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3259, allocations: 1.872 MB / 0.629 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.3267, allocations: 12 kB / 0.629 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.3272, allocations: 222 kB / 0.6293 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.3287, allocations: 0.7266 MB / 0.63 GB, free: 0.8789 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001121/0.3298, allocations: 0.6165 MB / 0.6306 GB, free: 276 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.3317, allocations: 1.425 MB / 0.632 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005417/0.3322, allocations: 324.4 kB / 0.6323 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008608/0.3331, allocations: 0.599 MB / 0.6328 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007878/0.3339, allocations: 0.7271 MB / 0.6336 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.3341, allocations: 104 kB / 0.6337 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.3346, allocations: 235.9 kB / 0.6339 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.3348, allocations: 282.7 kB / 0.6342 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.3353, allocations: 0.6252 MB / 0.6348 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3369, allocations: 1.523 MB / 0.6363 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3369, allocations: 0 / 0.6363 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3369, allocations: 0 / 0.6363 GB, free: 10.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.3369, allocations: 0 / 0.6363 GB, free: 10.42 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007844/0.3448, allocations: 2.556 MB / 0.6387 GB, free: 7.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3448, allocations: 8.031 kB / 0.6388 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.3498, allocations: 0.7866 MB / 0.6395 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.3512, allocations: 0.7724 MB / 0.6403 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.3515, allocations: 256.2 kB / 0.6405 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.3516, allocations: 76 kB / 0.6406 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.354, allocations: 1.081 MB / 0.6416 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.354, allocations: 3.938 kB / 0.6417 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.3541, allocations: 32 kB / 0.6417 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.3541, allocations: 20 kB / 0.6417 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.3566, allocations: 1.128 MB / 0.6428 GB, free: 3.543 MB / 446.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.005932/0.3625, allocations: 3.463 MB / 0.6462 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.3648, allocations: 1.419 MB / 0.6476 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.3665, allocations: 0.7852 MB / 0.6483 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.3666, allocations: 13 kB / 0.6484 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3667, allocations: 43.5 kB / 0.6484 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.905e-06/0.3667, allocations: 0 / 0.6484 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02618/0.3929, allocations: 6.617 MB / 0.6549 GB, free: 6.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.393, allocations: 60.41 kB / 0.6549 GB, free: 6.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3944, allocations: 0.8884 MB / 0.6558 GB, free: 5.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.3947, allocations: 41.7 kB / 0.6558 GB, free: 5.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.395, allocations: 0.489 MB / 0.6563 GB, free: 5.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.3955, allocations: 351 kB / 0.6566 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/0.396, allocations: 202.8 kB / 0.6568 GB, free: 4.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3962, allocations: 353.9 kB / 0.6572 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.3979, allocations: 0.7287 MB / 0.6579 GB, free: 3.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.3997, allocations: 0.858 MB / 0.6587 GB, free: 2.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/0.4187, allocations: 4.857 MB / 0.6635 GB, free: 13.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4187, allocations: 3.938 kB / 0.6635 GB, free: 13.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01407/0.4328, allocations: 4.284 MB / 0.6676 GB, free: 9.645 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4329, allocations: 4 kB / 0.6676 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4329, allocations: 4 kB / 0.6677 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006099/0.439, allocations: 1.726 MB / 0.6693 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4402, allocations: 227.7 kB / 0.6696 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.4618, allocations: 9.057 MB / 0.6784 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4634, allocations: 178.9 kB / 0.6786 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.4637, allocations: 43.98 kB / 0.6786 GB, free: 14.25 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.000655/0.4643, allocations: 233.7 kB / 0.6788 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.4647, allocations: 130.4 kB / 0.679 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.4781, allocations: 4.006 MB / 0.6829 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.4781, allocations: 12 kB / 0.6829 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4781, allocations: 0 / 0.6829 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.4782, allocations: 3.984 kB / 0.6829 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.4936, allocations: 5.602 MB / 0.6884 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.4936, allocations: 0 / 0.6884 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.4944, allocations: 131.8 kB / 0.6885 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005994/0.5004, allocations: 1.737 MB / 0.6902 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.5006, allocations: 20 kB / 0.6902 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.5196, allocations: 8.061 MB / 0.6981 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5196, allocations: 0 / 0.6981 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/0.5353, allocations: 4.952 MB / 0.7029 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.5357, allocations: 203.4 kB / 0.7031 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.536, allocations: 16 kB / 0.7031 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.5372, allocations: 112 kB / 0.7032 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007579/0.538, allocations: 220.7 kB / 0.7034 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.5381, allocations: 23.98 kB / 0.7035 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007921/0.5389, allocations: 0.5969 MB / 0.704 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.539, allocations: 0 / 0.704 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001389/0.5403, allocations: 443.4 kB / 0.7045 GB, free: 3.418 MB / 0.4981 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.0003102/0.5407, allocations: 139 kB / 0.7046 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006965/0.5476, allocations: 2.482 MB / 0.707 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5477, allocations: 0 / 0.707 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/0.5529, allocations: 1.601 MB / 0.7086 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.5539, allocations: 92.3 kB / 0.7087 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.558, allocations: 2.079 MB / 0.7107 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.5586, allocations: 1.095 MB / 0.7118 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.559, allocations: 79.41 kB / 0.7118 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of SimCode: time 9.61e-07/0.559, allocations: 0 / 0.7118 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.02717/0.5862, allocations: 20.17 MB / 0.7315 GB, free: 7.566 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)