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.001105/0.001105, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.352/1.352, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001356/0.001356, allocations: 191.8 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4507/0.4507, allocations: 78.53 MB / 419.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 75.88 kB / 0.5543 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2843, allocations: 68.18 MB / 0.6209 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005072/0.2894, allocations: 6.474 MB / 0.6272 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.2923, allocations: 1.868 MB / 0.629 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.2934, allocations: 12 kB / 0.629 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.294, allocations: 222 kB / 0.6293 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.2957, allocations: 0.7816 MB / 0.63 GB, free: 0.8438 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.001104/0.2968, allocations: 0.606 MB / 0.6306 GB, free: 248 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.2983, allocations: 1.429 MB / 0.632 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.2988, allocations: 328.4 kB / 0.6323 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007167/0.2995, allocations: 0.5952 MB / 0.6329 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.3003, allocations: 0.731 MB / 0.6336 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.3005, allocations: 104 kB / 0.6337 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.301, allocations: 235.9 kB / 0.6339 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.3012, allocations: 282.8 kB / 0.6342 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.3017, allocations: 0.629 MB / 0.6348 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.3033, allocations: 1.523 MB / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3033, allocations: 0 / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3033, allocations: 0 / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.3034, allocations: 0 / 0.6363 GB, free: 10.38 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.008519/0.3119, allocations: 2.556 MB / 0.6388 GB, free: 7.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3119, allocations: 8.031 kB / 0.6388 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.3173, allocations: 0.7788 MB / 0.6396 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.3187, allocations: 0.7802 MB / 0.6403 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.319, allocations: 256.2 kB / 0.6406 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.3192, allocations: 76 kB / 0.6407 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.3219, allocations: 1.085 MB / 0.6417 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3219, allocations: 7.938 kB / 0.6417 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.322, allocations: 28 kB / 0.6417 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.322, allocations: 20 kB / 0.6418 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.325, allocations: 1.124 MB / 0.6429 GB, free: 3.504 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.00687/0.3319, allocations: 3.452 MB / 0.6462 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.3343, allocations: 1.429 MB / 0.6476 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.3362, allocations: 0.7891 MB / 0.6484 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3363, allocations: 20.97 kB / 0.6484 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3363, allocations: 39.56 kB / 0.6485 GB, free: 13.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 3.346e-06/0.3363, allocations: 0 / 0.6485 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02722/0.3636, allocations: 6.61 MB / 0.6549 GB, free: 6.852 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3636, allocations: 60.41 kB / 0.655 GB, free: 6.777 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.3649, allocations: 0.8884 MB / 0.6558 GB, free: 5.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.3651, allocations: 41.7 kB / 0.6559 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.3655, allocations: 0.4929 MB / 0.6564 GB, free: 5.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.3659, allocations: 343 kB / 0.6567 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/0.3664, allocations: 206.8 kB / 0.6569 GB, free: 4.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3665, allocations: 353.9 kB / 0.6572 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.3683, allocations: 0.7325 MB / 0.6579 GB, free: 3.691 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.3702, allocations: 0.8618 MB / 0.6588 GB, free: 2.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/0.3902, allocations: 4.846 MB / 0.6635 GB, free: 13.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.3903, allocations: 3.938 kB / 0.6635 GB, free: 13.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01498/0.4052, allocations: 4.288 MB / 0.6677 GB, free: 9.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4053, allocations: 8 kB / 0.6677 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4053, allocations: 0 / 0.6677 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/0.4119, allocations: 1.729 MB / 0.6694 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.4132, allocations: 227.7 kB / 0.6696 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.436, allocations: 9.048 MB / 0.6785 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.4377, allocations: 182.9 kB / 0.6786 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.4379, allocations: 39.98 kB / 0.6787 GB, free: 14.22 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.0006054/0.4385, allocations: 237.7 kB / 0.6789 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4389, allocations: 118.5 kB / 0.679 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/0.4532, allocations: 4.01 MB / 0.6829 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/0.4533, allocations: 3.984 kB / 0.6829 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4533, allocations: 0 / 0.6829 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.4537, allocations: 211.3 kB / 0.6831 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.454, allocations: 16 kB / 0.6831 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.4552, allocations: 115.8 kB / 0.6832 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/0.4565, allocations: 0.4924 MB / 0.6837 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0065/0.4631, allocations: 2.094 MB / 0.6858 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005262/0.4683, allocations: 2.328 MB / 0.688 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001561/0.4699, allocations: 0.6207 MB / 0.6887 GB, free: 3.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008101/0.4707, allocations: 0.5969 MB / 0.6892 GB, free: 3.305 MB / 494.1 MB Notification: Performance of Backend: time 4.31e-07/0.4707, allocations: 0 / 0.6892 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006321/0.4771, allocations: 1.972 MB / 0.6912 GB, free: 1.32 MB / 494.1 MB Notification: Performance of SimCode: time 0.003293/0.4804, allocations: 2.611 MB / 0.6937 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.03516/0.5156, allocations: 22.57 MB / 0.7158 GB, free: 8.074 MB / 0.5137 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)