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.08611/0.08611, allocations: 12.58 MB / 28.22 MB, free: 0.7695 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.001035/0.001035, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.444/1.444, allocations: 205.1 MB / 240.4 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.001353/0.001353, allocations: 188.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.4536/0.4536, allocations: 78.51 MB / 419.3 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.00246/0.00246, allocations: 138.6 kB / 0.5559 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1504, allocations: 68.12 MB / 0.6224 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007525/0.158, allocations: 6.523 MB / 0.6288 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.1617, allocations: 1.834 MB / 0.6306 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/0.1623, allocations: 12 kB / 0.6306 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.163, allocations: 221.9 kB / 0.6308 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1648, allocations: 0.726 MB / 0.6315 GB, free: 6.148 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.001333/0.1661, allocations: 0.6154 MB / 0.6321 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.1677, allocations: 1.421 MB / 0.6335 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.1682, allocations: 328.3 kB / 0.6338 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.1689, allocations: 0.5951 MB / 0.6344 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008104/0.1697, allocations: 0.7388 MB / 0.6351 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1699, allocations: 100 kB / 0.6352 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.1704, allocations: 235.9 kB / 0.6354 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.1707, allocations: 286.7 kB / 0.6357 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.1712, allocations: 0.6213 MB / 0.6363 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.1729, allocations: 1.528 MB / 0.6378 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1729, allocations: 3.938 kB / 0.6378 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1729, allocations: 0 / 0.6378 GB, free: 15.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.173, allocations: 0 / 0.6378 GB, free: 15.67 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.007899/0.1809, allocations: 2.601 MB / 0.6403 GB, free: 13.01 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1809, allocations: 11.98 kB / 0.6403 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/0.1858, allocations: 0.7913 MB / 0.6411 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1872, allocations: 0.7734 MB / 0.6419 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.1874, allocations: 260.1 kB / 0.6421 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.1876, allocations: 76 kB / 0.6422 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.1899, allocations: 1.093 MB / 0.6433 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1899, allocations: 3.938 kB / 0.6433 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.19, allocations: 28 kB / 0.6433 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.19, allocations: 20 kB / 0.6433 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.1926, allocations: 1.12 MB / 0.6444 GB, free: 8.738 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.006138/0.1988, allocations: 3.46 MB / 0.6478 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.201, allocations: 1.435 MB / 0.6492 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.2027, allocations: 0.7929 MB / 0.65 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.2028, allocations: 16.98 kB / 0.65 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2029, allocations: 43.56 kB / 0.65 GB, free: 2.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/0.2029, allocations: 0 / 0.65 GB, free: 2.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02563/0.2285, allocations: 6.614 MB / 0.6565 GB, free: 12.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2286, allocations: 60.41 kB / 0.6565 GB, free: 12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.2298, allocations: 0.8884 MB / 0.6574 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.2299, allocations: 41.7 kB / 0.6574 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.2303, allocations: 0.4935 MB / 0.6579 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.2307, allocations: 368.8 kB / 0.6583 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.2311, allocations: 206.9 kB / 0.6585 GB, free: 9.969 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2313, allocations: 353.9 kB / 0.6588 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.233, allocations: 0.7287 MB / 0.6595 GB, free: 8.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.2347, allocations: 0.8618 MB / 0.6604 GB, free: 7.996 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0189/0.2536, allocations: 4.854 MB / 0.6651 GB, free: 3.109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2537, allocations: 0 / 0.6651 GB, free: 3.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01386/0.2676, allocations: 4.289 MB / 0.6693 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.2676, allocations: 8 kB / 0.6693 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.2677, allocations: 0 / 0.6693 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/0.2738, allocations: 1.73 MB / 0.671 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.2751, allocations: 227.7 kB / 0.6712 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/0.2969, allocations: 9.053 MB / 0.68 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.2985, allocations: 187.2 kB / 0.6802 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.2987, allocations: 39.98 kB / 0.6803 GB, free: 3.406 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.0006352/0.2994, allocations: 243 kB / 0.6805 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.2998, allocations: 127.2 kB / 0.6806 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.3132, allocations: 4.014 MB / 0.6845 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.3133, allocations: 15.98 kB / 0.6846 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3133, allocations: 0 / 0.6846 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.3133, allocations: 3.984 kB / 0.6846 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.329, allocations: 5.606 MB / 0.69 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.3291, allocations: 0 / 0.69 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.3299, allocations: 135.8 kB / 0.6902 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005967/0.3359, allocations: 1.741 MB / 0.6919 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.336, allocations: 23.94 kB / 0.6919 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/0.3556, allocations: 8.07 MB / 0.6998 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3556, allocations: 0 / 0.6998 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.3711, allocations: 4.957 MB / 0.7046 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.3716, allocations: 208.1 kB / 0.7048 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.3719, allocations: 16 kB / 0.7048 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.3731, allocations: 123.8 kB / 0.7049 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008073/0.3739, allocations: 212.6 kB / 0.7051 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.374, allocations: 31.98 kB / 0.7052 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008427/0.3749, allocations: 0.593 MB / 0.7057 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3749, allocations: 0 / 0.7057 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001523/0.3764, allocations: 439.6 kB / 0.7062 GB, free: 8.508 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.0003083/0.3767, allocations: 139 kB / 0.7063 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007086/0.3838, allocations: 2.49 MB / 0.7087 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3838, allocations: 0 / 0.7087 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004935/0.3888, allocations: 1.613 MB / 0.7103 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.3896, allocations: 92.36 kB / 0.7104 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.3939, allocations: 2.074 MB / 0.7124 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.3947, allocations: 1.099 MB / 0.7135 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003949/0.3951, allocations: 94.75 kB / 0.7136 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.3954, allocations: 75.3 kB / 0.7137 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.3954, allocations: 0 / 0.7137 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of Templates: time 0.3756/0.771, allocations: 23.63 MB / 0.7367 GB, free: 79.09 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)