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.001157/0.001157, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.399/1.399, allocations: 222.9 MB / 240 MB, free: 4.492 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.001367/0.001367, allocations: 180.5 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4797/0.4797, allocations: 78.53 MB / 419 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 79.88 kB / 498.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1367, allocations: 68.18 MB / 0.5538 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2467/0.3835, allocations: 6.476 MB / 0.5601 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.3878, allocations: 1.868 MB / 0.5619 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.3889, allocations: 12.16 kB / 0.5619 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.3897, allocations: 228.3 kB / 0.5621 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.3918, allocations: 0.7162 MB / 0.5628 GB, free: 35.41 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.00148/0.3933, allocations: 0.6231 MB / 0.5635 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3951, allocations: 1.416 MB / 0.5648 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.3955, allocations: 330.2 kB / 0.5652 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.3962, allocations: 0.5958 MB / 0.5657 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.3969, allocations: 0.7275 MB / 0.5664 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.397, allocations: 102.3 kB / 0.5665 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.3975, allocations: 238.3 kB / 0.5668 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.3977, allocations: 272 kB / 0.567 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.3982, allocations: 0.6335 MB / 0.5676 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3996, allocations: 1.524 MB / 0.5691 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3996, allocations: 0 / 0.5691 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3996, allocations: 0.6875 kB / 0.5691 GB, free: 33.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.3997, allocations: 0 / 0.5691 GB, free: 33.95 MB / 430.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.007211/0.4069, allocations: 2.562 MB / 0.5716 GB, free: 33.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.4069, allocations: 9.281 kB / 0.5716 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.4117, allocations: 0.7765 MB / 0.5724 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.4131, allocations: 0.7722 MB / 0.5732 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.4133, allocations: 262.7 kB / 0.5734 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.4135, allocations: 81.42 kB / 0.5735 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4155, allocations: 1.075 MB / 0.5745 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4156, allocations: 6.719 kB / 0.5745 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.4157, allocations: 32.09 kB / 0.5746 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.4157, allocations: 24.14 kB / 0.5746 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.4178, allocations: 1.118 MB / 0.5757 GB, free: 32.28 MB / 430.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.005329/0.4232, allocations: 3.453 MB / 0.5791 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.4251, allocations: 1.429 MB / 0.5805 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4265, allocations: 0.7857 MB / 0.5812 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.4266, allocations: 11.91 kB / 0.5812 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4266, allocations: 42.12 kB / 0.5813 GB, free: 29.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.014e-06/0.4266, allocations: 0 / 0.5813 GB, free: 29.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02352/0.4501, allocations: 6.607 MB / 0.5877 GB, free: 28.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.4502, allocations: 63.31 kB / 0.5878 GB, free: 28.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4515, allocations: 0.8918 MB / 0.5887 GB, free: 28.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.4517, allocations: 49.77 kB / 0.5887 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.4521, allocations: 496.9 kB / 0.5892 GB, free: 27.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.4524, allocations: 352.5 kB / 0.5895 GB, free: 27.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.4528, allocations: 203.2 kB / 0.5897 GB, free: 27.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.4529, allocations: 351 kB / 0.59 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.4545, allocations: 0.7309 MB / 0.5908 GB, free: 26.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.4561, allocations: 0.8618 MB / 0.5916 GB, free: 26.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.4745, allocations: 4.854 MB / 0.5963 GB, free: 25.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4746, allocations: 1 kB / 0.5963 GB, free: 25.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01353/0.4881, allocations: 4.277 MB / 0.6005 GB, free: 24.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.4882, allocations: 6.562 kB / 0.6005 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4882, allocations: 2.5 kB / 0.6005 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0061/0.4943, allocations: 1.732 MB / 0.6022 GB, free: 23.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.4958, allocations: 231.3 kB / 0.6024 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.5158, allocations: 9.052 MB / 0.6113 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.5173, allocations: 182.5 kB / 0.6115 GB, free: 18.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.5175, allocations: 42.95 kB / 0.6115 GB, free: 18.56 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.0004741/0.5179, allocations: 242.6 kB / 0.6117 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.5181, allocations: 122.8 kB / 0.6118 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.5294, allocations: 4.006 MB / 0.6158 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5294, allocations: 12 kB / 0.6158 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5294, allocations: 4 kB / 0.6158 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.5295, allocations: 3.984 kB / 0.6158 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.5422, allocations: 5.6 MB / 0.6212 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.5422, allocations: 3.938 kB / 0.6212 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.5429, allocations: 135.8 kB / 0.6214 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005124/0.5481, allocations: 1.736 MB / 0.6231 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/0.5483, allocations: 16 kB / 0.6231 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/0.5643, allocations: 8.059 MB / 0.631 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5643, allocations: 0 / 0.631 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.5787, allocations: 4.959 MB / 0.6358 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.5793, allocations: 203.4 kB / 0.636 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.5795, allocations: 16 kB / 0.636 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.5804, allocations: 107.9 kB / 0.6361 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/0.5811, allocations: 220.7 kB / 0.6363 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/0.5812, allocations: 20.94 kB / 0.6363 GB, free: 9.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007237/0.5819, allocations: 0.6047 MB / 0.6369 GB, free: 8.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5819, allocations: 0 / 0.6369 GB, free: 8.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001268/0.5832, allocations: 435.5 kB / 0.6373 GB, free: 8.309 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.0002538/0.5835, allocations: 131.6 kB / 0.6375 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006707/0.5902, allocations: 2.484 MB / 0.6399 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5902, allocations: 0.5625 kB / 0.6399 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004682/0.5949, allocations: 1.594 MB / 0.6415 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.5958, allocations: 93.72 kB / 0.6415 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.5999, allocations: 2.049 MB / 0.6435 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.6006, allocations: 1.1 MB / 0.6446 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003909/0.601, allocations: 87.42 kB / 0.6447 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.6013, allocations: 75.41 kB / 0.6448 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6013, allocations: 0 / 0.6448 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of Templates: time 0.03581/0.6371, allocations: 23.43 MB / 0.6677 GB, free: 9.391 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)