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.06895/0.06895, allocations: 12.59 MB / 28.76 MB, free: 376 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.000855, allocations: 107.5 kB / 32.37 MB, free: 3.484 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.068/1.068, allocations: 205.1 MB / 241 MB, free: 12.44 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.001091/0.001091, allocations: 191.3 kB / 291.2 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3691/0.3691, allocations: 78.5 MB / 419.8 MB, free: 11.34 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.002354/0.002354, allocations: 139.8 kB / 0.4887 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2229, allocations: 68.1 MB / 0.5552 GB, free: 32.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005181/0.2281, allocations: 6.528 MB / 0.5616 GB, free: 27.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2304, allocations: 1.848 MB / 0.5634 GB, free: 26.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.2307, allocations: 15.12 kB / 0.5634 GB, free: 26.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.2311, allocations: 218.2 kB / 0.5636 GB, free: 26.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2322, allocations: 0.7198 MB / 0.5643 GB, free: 25.66 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.0008493/0.233, allocations: 0.6089 MB / 0.5649 GB, free: 25.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008552/0.2339, allocations: 1.418 MB / 0.5663 GB, free: 24.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.2343, allocations: 332.8 kB / 0.5666 GB, free: 24.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.2347, allocations: 0.5912 MB / 0.5672 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.2352, allocations: 0.7303 MB / 0.5679 GB, free: 23.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2353, allocations: 105.5 kB / 0.568 GB, free: 23.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.2357, allocations: 235.1 kB / 0.5682 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.2358, allocations: 286.9 kB / 0.5685 GB, free: 23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.2362, allocations: 0.6216 MB / 0.5691 GB, free: 22.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.2371, allocations: 1.501 MB / 0.5706 GB, free: 21.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2371, allocations: 0 / 0.5706 GB, free: 21.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2371, allocations: 0 / 0.5706 GB, free: 21.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2371, allocations: 1.219 kB / 0.5706 GB, free: 21.41 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.006601/0.2437, allocations: 2.559 MB / 0.5731 GB, free: 19.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.2438, allocations: 16.8 kB / 0.5731 GB, free: 19.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/0.2482, allocations: 0.7742 MB / 0.5739 GB, free: 19.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.249, allocations: 0.7721 MB / 0.5746 GB, free: 18.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.2492, allocations: 259.7 kB / 0.5749 GB, free: 18.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2493, allocations: 79.88 kB / 0.5749 GB, free: 18.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.2512, allocations: 1.077 MB / 0.576 GB, free: 17.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2512, allocations: 3.938 kB / 0.576 GB, free: 17.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.2513, allocations: 35.09 kB / 0.576 GB, free: 17.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2513, allocations: 18.03 kB / 0.576 GB, free: 17.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.2533, allocations: 1.13 MB / 0.5771 GB, free: 16.91 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.004083/0.2574, allocations: 3.463 MB / 0.5805 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.259, allocations: 1.426 MB / 0.5819 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.2603, allocations: 0.7852 MB / 0.5827 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.244e-05/0.2604, allocations: 20.98 kB / 0.5827 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.2604, allocations: 47.5 kB / 0.5828 GB, free: 10.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.144e-06/0.2604, allocations: 0 / 0.5828 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02151/0.2819, allocations: 6.613 MB / 0.5892 GB, free: 4.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.282, allocations: 68.34 kB / 0.5893 GB, free: 4.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.2827, allocations: 0.8884 MB / 0.5901 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.2827, allocations: 41.7 kB / 0.5902 GB, free: 3.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.2829, allocations: 0.4889 MB / 0.5907 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.2831, allocations: 343.1 kB / 0.591 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/0.2834, allocations: 206.8 kB / 0.5912 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.2835, allocations: 349.9 kB / 0.5915 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.2848, allocations: 0.7365 MB / 0.5922 GB, free: 1.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.2862, allocations: 0.858 MB / 0.5931 GB, free: 192 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.3032, allocations: 4.868 MB / 0.5978 GB, free: 11.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3032, allocations: 0 / 0.5978 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01242/0.3156, allocations: 4.285 MB / 0.602 GB, free: 6.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3156, allocations: 8 kB / 0.602 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3156, allocations: 0 / 0.602 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005406/0.3211, allocations: 1.738 MB / 0.6037 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.322, allocations: 227.7 kB / 0.6039 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/0.3411, allocations: 9.066 MB / 0.6128 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3424, allocations: 182.9 kB / 0.613 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3425, allocations: 43.92 kB / 0.613 GB, free: 11.58 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.0004012/0.343, allocations: 239.2 kB / 0.6132 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.3432, allocations: 122.4 kB / 0.6134 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.3555, allocations: 4.01 MB / 0.6173 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.3556, allocations: 19.97 kB / 0.6173 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3556, allocations: 0 / 0.6173 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3556, allocations: 3.984 kB / 0.6173 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.3695, allocations: 5.614 MB / 0.6228 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3695, allocations: 4 kB / 0.6228 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.3701, allocations: 131.8 kB / 0.6229 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005473/0.3756, allocations: 1.741 MB / 0.6246 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.3757, allocations: 16 kB / 0.6246 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.3928, allocations: 8.068 MB / 0.6325 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3928, allocations: 0 / 0.6325 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.4067, allocations: 4.95 MB / 0.6373 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.407, allocations: 203.4 kB / 0.6375 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.4071, allocations: 16 kB / 0.6375 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/0.4081, allocations: 119.9 kB / 0.6377 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/0.4087, allocations: 216.6 kB / 0.6379 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.4088, allocations: 27.98 kB / 0.6379 GB, free: 1.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006624/0.4094, allocations: 0.593 MB / 0.6385 GB, free: 1.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4094, allocations: 0 / 0.6385 GB, free: 1.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001006/0.4104, allocations: 439.4 kB / 0.6389 GB, free: 0.6992 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.0002269/0.4107, allocations: 143 kB / 0.639 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006442/0.4171, allocations: 2.502 MB / 0.6415 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4172, allocations: 0 / 0.6415 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004339/0.4215, allocations: 1.604 MB / 0.643 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.4221, allocations: 96.34 kB / 0.6431 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.4253, allocations: 2.11 MB / 0.6452 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.4259, allocations: 1.103 MB / 0.6463 GB, free: 9.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.4261, allocations: 75.42 kB / 0.6463 GB, free: 8.988 MB / 462.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4261, allocations: 0 / 0.6463 GB, free: 8.988 MB / 462.1 MB Notification: Performance of Templates: time 0.02247/0.4486, allocations: 20.08 MB / 0.6659 GB, free: 4.902 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)