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.1161/0.1161, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001106/0.001106, allocations: 107.4 kB / 31.83 MB, free: 3.879 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.453/1.453, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.00131/0.00131, allocations: 192.4 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.4384/0.4384, allocations: 78.5 MB / 419.3 MB, free: 11.25 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.002633/0.002633, allocations: 142 kB / 0.5559 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1437, allocations: 68.13 MB / 0.6224 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006991/0.1507, allocations: 6.534 MB / 0.6288 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.1539, allocations: 1.834 MB / 0.6306 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.1544, allocations: 12 kB / 0.6306 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.1549, allocations: 230 kB / 0.6308 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.1566, allocations: 0.7697 MB / 0.6316 GB, free: 5.996 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.001251/0.1578, allocations: 0.6118 MB / 0.6322 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1593, allocations: 1.425 MB / 0.6335 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.1598, allocations: 324.4 kB / 0.6339 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.1605, allocations: 0.595 MB / 0.6344 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007504/0.1612, allocations: 0.731 MB / 0.6351 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.1614, allocations: 104 kB / 0.6352 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.1618, allocations: 235.9 kB / 0.6355 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.162, allocations: 274.8 kB / 0.6357 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005534/0.1626, allocations: 0.6329 MB / 0.6364 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1641, allocations: 1.526 MB / 0.6378 GB, free: 15.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1641, allocations: 0 / 0.6378 GB, free: 15.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1641, allocations: 0 / 0.6378 GB, free: 15.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1641, allocations: 0 / 0.6378 GB, free: 15.53 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.008077/0.1722, allocations: 2.556 MB / 0.6403 GB, free: 12.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1722, allocations: 15.98 kB / 0.6404 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/0.1773, allocations: 0.7788 MB / 0.6411 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1785, allocations: 0.7724 MB / 0.6419 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.1787, allocations: 256.2 kB / 0.6421 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.1789, allocations: 80 kB / 0.6422 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.1812, allocations: 1.077 MB / 0.6432 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1813, allocations: 7.875 kB / 0.6432 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.1814, allocations: 35.94 kB / 0.6433 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1814, allocations: 20 kB / 0.6433 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.184, allocations: 1.12 MB / 0.6444 GB, free: 8.66 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.005625/0.1896, allocations: 3.452 MB / 0.6478 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.1918, allocations: 1.431 MB / 0.6492 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.1935, allocations: 0.789 MB / 0.6499 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.1936, allocations: 12.94 kB / 0.6499 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1936, allocations: 43.56 kB / 0.65 GB, free: 2.656 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.375e-06/0.1936, allocations: 4 kB / 0.65 GB, free: 2.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.0262/0.2198, allocations: 6.606 MB / 0.6564 GB, free: 12.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2199, allocations: 64.41 kB / 0.6565 GB, free: 11.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.221, allocations: 0.8923 MB / 0.6574 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.2211, allocations: 45.7 kB / 0.6574 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.2214, allocations: 0.4889 MB / 0.6579 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.2217, allocations: 347 kB / 0.6582 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.2221, allocations: 206.8 kB / 0.6584 GB, free: 9.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2223, allocations: 353.9 kB / 0.6588 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.2239, allocations: 0.7287 MB / 0.6595 GB, free: 8.848 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.2257, allocations: 0.8619 MB / 0.6603 GB, free: 7.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0188/0.2445, allocations: 4.854 MB / 0.6651 GB, free: 3.066 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2445, allocations: 4 kB / 0.6651 GB, free: 3.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.014/0.2585, allocations: 4.273 MB / 0.6692 GB, free: 14.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2586, allocations: 4 kB / 0.6692 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2586, allocations: 12 kB / 0.6692 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006173/0.2648, allocations: 1.722 MB / 0.6709 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2658, allocations: 231.7 kB / 0.6712 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/0.2873, allocations: 9.047 MB / 0.68 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.2888, allocations: 182.9 kB / 0.6802 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/0.2889, allocations: 43.98 kB / 0.6802 GB, free: 3.379 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.0004665/0.2894, allocations: 235 kB / 0.6804 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.2896, allocations: 130.4 kB / 0.6806 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.3033, allocations: 4.006 MB / 0.6845 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3033, allocations: 15.94 kB / 0.6845 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3033, allocations: 4 kB / 0.6845 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3034, allocations: 3.984 kB / 0.6845 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.3189, allocations: 5.606 MB / 0.69 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.319, allocations: 4 kB / 0.69 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.3197, allocations: 131.8 kB / 0.6901 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.3257, allocations: 1.741 MB / 0.6918 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.3258, allocations: 16 kB / 0.6918 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.3454, allocations: 8.049 MB / 0.6997 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3454, allocations: 0 / 0.6997 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.3615, allocations: 4.956 MB / 0.7045 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.3619, allocations: 203.4 kB / 0.7047 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.3621, allocations: 16 kB / 0.7047 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.3632, allocations: 111.9 kB / 0.7048 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006987/0.3639, allocations: 228.5 kB / 0.705 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.364, allocations: 27.98 kB / 0.7051 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007997/0.3648, allocations: 0.593 MB / 0.7056 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3648, allocations: 4 kB / 0.7056 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001279/0.3661, allocations: 439.4 kB / 0.7061 GB, free: 8.516 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.0002848/0.3664, allocations: 127.2 kB / 0.7062 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006979/0.3734, allocations: 2.482 MB / 0.7086 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3734, allocations: 4.188 kB / 0.7086 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004892/0.3783, allocations: 1.597 MB / 0.7102 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.379, allocations: 92.36 kB / 0.7103 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.3826, allocations: 2.057 MB / 0.7123 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.3832, allocations: 1.099 MB / 0.7133 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003387/0.3835, allocations: 94.69 kB / 0.7134 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.3838, allocations: 71.42 kB / 0.7135 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.3838, allocations: 4 kB / 0.7135 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of Templates: time 0.3278/0.7116, allocations: 23.62 MB / 0.7366 GB, free: 78.96 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)