Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 175.5 kB / 16.08 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 239.7 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007349/0.0007349, allocations: 92.42 kB / 290.5 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4319/0.4319, allocations: 78.43 MB / 419.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 12 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 68.75 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004901/0.2701, allocations: 6.809 MB / 0.5612 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.273, allocations: 1.923 MB / 0.563 GB, free: 11.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.2735, allocations: 12 kB / 0.5631 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.2739, allocations: 166.9 kB / 0.5632 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.2752, allocations: 0.6372 MB / 0.5638 GB, free: 10.65 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.0009501/0.2761, allocations: 0.5752 MB / 0.5644 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.2769, allocations: 1.355 MB / 0.5657 GB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.2772, allocations: 289.2 kB / 0.566 GB, free: 8.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.2776, allocations: 0.5209 MB / 0.5665 GB, free: 7.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.2781, allocations: 0.6685 MB / 0.5672 GB, free: 7.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2782, allocations: 52 kB / 0.5672 GB, free: 7.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.2785, allocations: 183.8 kB / 0.5674 GB, free: 7.004 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.2787, allocations: 222.8 kB / 0.5676 GB, free: 6.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.279, allocations: 0.5666 MB / 0.5682 GB, free: 6.215 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000852/0.2799, allocations: 1.426 MB / 0.5695 GB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2799, allocations: 0 / 0.5695 GB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2799, allocations: 4 kB / 0.5695 GB, free: 4.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2799, allocations: 0 / 0.5695 GB, free: 4.781 MB / 378.7 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.006185/0.2861, allocations: 2.318 MB / 0.5718 GB, free: 2.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2861, allocations: 11.97 kB / 0.5718 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.2907, allocations: 0.7827 MB / 0.5726 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.2915, allocations: 0.7646 MB / 0.5733 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.2917, allocations: 260.2 kB / 0.5736 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2919, allocations: 76 kB / 0.5737 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.2939, allocations: 1.081 MB / 0.5747 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2939, allocations: 3.938 kB / 0.5747 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.294, allocations: 32 kB / 0.5747 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.294, allocations: 16 kB / 0.5748 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.2964, allocations: 1.124 MB / 0.5759 GB, free: 14.16 MB / 394.7 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.005382/0.3018, allocations: 3.475 MB / 0.5793 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.3038, allocations: 1.44 MB / 0.5807 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.3053, allocations: 0.789 MB / 0.5814 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3054, allocations: 13 kB / 0.5814 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3055, allocations: 51.48 kB / 0.5815 GB, free: 8.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.3055, allocations: 0 / 0.5815 GB, free: 8.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02441/0.3299, allocations: 6.613 MB / 0.5879 GB, free: 1.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.33, allocations: 60.41 kB / 0.588 GB, free: 1.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3312, allocations: 0.8922 MB / 0.5889 GB, free: 492 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.3313, allocations: 41.7 kB / 0.5889 GB, free: 444 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.3317, allocations: 0.4892 MB / 0.5894 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.3321, allocations: 350.9 kB / 0.5897 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3322, allocations: 109.7 kB / 0.5898 GB, free: 15.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3324, allocations: 353.9 kB / 0.5902 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.3339, allocations: 0.7248 MB / 0.5909 GB, free: 14.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3356, allocations: 0.8657 MB / 0.5917 GB, free: 13.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/0.3535, allocations: 4.841 MB / 0.5965 GB, free: 8.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3535, allocations: 3.938 kB / 0.5965 GB, free: 8.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01279/0.3663, allocations: 4.281 MB / 0.6006 GB, free: 4.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3664, allocations: 10.28 kB / 0.6006 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3664, allocations: 4 kB / 0.6007 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00548/0.3719, allocations: 1.733 MB / 0.6023 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.373, allocations: 227.7 kB / 0.6026 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.3908, allocations: 8.33 MB / 0.6107 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.3922, allocations: 182.8 kB / 0.6109 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.3923, allocations: 43.98 kB / 0.6109 GB, free: 9.66 MB / 426.7 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.0004467/0.3927, allocations: 233.7 kB / 0.6111 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.3929, allocations: 118.5 kB / 0.6112 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.4057, allocations: 4.018 MB / 0.6152 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.4057, allocations: 3.984 kB / 0.6152 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4057, allocations: 0 / 0.6152 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.4061, allocations: 207.3 kB / 0.6154 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.4063, allocations: 16 kB / 0.6154 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/0.4072, allocations: 115.8 kB / 0.6155 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/0.4085, allocations: 484.1 kB / 0.616 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005379/0.4139, allocations: 2.106 MB / 0.618 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004531/0.4184, allocations: 2.328 MB / 0.6203 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001338/0.4198, allocations: 0.6285 MB / 0.6209 GB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007063/0.4205, allocations: 0.593 MB / 0.6215 GB, free: 14.75 MB / 442.7 MB Notification: Performance of Backend: time 8.12e-07/0.4205, allocations: 3.938 kB / 0.6215 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.4263, allocations: 1.926 MB / 0.6234 GB, free: 12.81 MB / 442.7 MB Notification: Performance of SimCode: time 0.003912/0.4302, allocations: 3.025 MB / 0.6263 GB, free: 9.727 MB / 442.7 MB Notification: Performance of Templates: time 0.02891/0.4591, allocations: 19.74 MB / 0.6456 GB, free: 5.98 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)