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.005485/0.005485, allocations: 101.1 kB / 15.73 MB, free: 5.492 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.345/1.345, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001345/0.001345, allocations: 188.5 kB / 289.7 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.4722/0.4722, allocations: 78.52 MB / 418.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 79.81 kB / 0.5536 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3014, allocations: 68.17 MB / 0.6202 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005341/0.3068, allocations: 6.478 MB / 0.6265 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3103, allocations: 1.868 MB / 0.6284 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006538/0.311, allocations: 12 kB / 0.6284 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.3116, allocations: 222 kB / 0.6286 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.313, allocations: 0.7738 MB / 0.6293 GB, free: 0.8125 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.001064/0.3141, allocations: 0.6124 MB / 0.6299 GB, free: 212 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3157, allocations: 1.421 MB / 0.6313 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.3162, allocations: 332.3 kB / 0.6316 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.3172, allocations: 0.5951 MB / 0.6322 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008277/0.318, allocations: 0.731 MB / 0.6329 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.3182, allocations: 100 kB / 0.633 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.3187, allocations: 239.9 kB / 0.6333 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.3189, allocations: 282.7 kB / 0.6335 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.3195, allocations: 0.6213 MB / 0.6341 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.3211, allocations: 1.531 MB / 0.6356 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3212, allocations: 0 / 0.6356 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3212, allocations: 0 / 0.6356 GB, free: 10.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.3212, allocations: 0 / 0.6356 GB, free: 10.35 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.007658/0.3289, allocations: 2.556 MB / 0.6381 GB, free: 7.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3289, allocations: 12.03 kB / 0.6381 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/0.3338, allocations: 0.7788 MB / 0.6389 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.335, allocations: 0.7685 MB / 0.6396 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.3352, allocations: 264.2 kB / 0.6399 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3354, allocations: 76 kB / 0.64 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.3376, allocations: 1.085 MB / 0.641 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3376, allocations: 3.938 kB / 0.641 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/0.3377, allocations: 36 kB / 0.6411 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3377, allocations: 16 kB / 0.6411 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.3401, allocations: 1.128 MB / 0.6422 GB, free: 3.469 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.005478/0.3456, allocations: 3.456 MB / 0.6456 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.3478, allocations: 1.427 MB / 0.647 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3494, allocations: 0.7852 MB / 0.6477 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.3495, allocations: 12.98 kB / 0.6477 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3495, allocations: 47.5 kB / 0.6478 GB, free: 13.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.414e-06/0.3495, allocations: 4 kB / 0.6478 GB, free: 13.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02351/0.3731, allocations: 6.606 MB / 0.6542 GB, free: 6.816 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3731, allocations: 64.41 kB / 0.6543 GB, free: 6.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.3744, allocations: 0.8923 MB / 0.6552 GB, free: 5.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.3746, allocations: 41.7 kB / 0.6552 GB, free: 5.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.375, allocations: 496.7 kB / 0.6557 GB, free: 5.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.3753, allocations: 347 kB / 0.656 GB, free: 4.945 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.3758, allocations: 206.8 kB / 0.6562 GB, free: 4.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3759, allocations: 349.9 kB / 0.6565 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.3776, allocations: 0.7326 MB / 0.6573 GB, free: 3.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.3793, allocations: 0.8657 MB / 0.6581 GB, free: 2.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/0.3974, allocations: 4.85 MB / 0.6628 GB, free: 13.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3974, allocations: 4 kB / 0.6628 GB, free: 13.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01301/0.4104, allocations: 4.281 MB / 0.667 GB, free: 9.574 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4105, allocations: 4 kB / 0.667 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4105, allocations: 8 kB / 0.667 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005654/0.4161, allocations: 1.718 MB / 0.6687 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.4173, allocations: 231.7 kB / 0.6689 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.4374, allocations: 9.053 MB / 0.6778 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.4389, allocations: 182.9 kB / 0.6779 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.4392, allocations: 39.98 kB / 0.678 GB, free: 14.19 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.0005401/0.4397, allocations: 239.9 kB / 0.6782 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.44, allocations: 126.4 kB / 0.6783 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.4526, allocations: 4.006 MB / 0.6822 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4526, allocations: 12 kB / 0.6823 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4526, allocations: 4 kB / 0.6823 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4526, allocations: 3.984 kB / 0.6823 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.467, allocations: 5.602 MB / 0.6877 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4671, allocations: 4 kB / 0.6877 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.4678, allocations: 131.8 kB / 0.6879 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00558/0.4734, allocations: 1.734 MB / 0.6896 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.4735, allocations: 20 kB / 0.6896 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/0.4912, allocations: 8.061 MB / 0.6975 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4912, allocations: 0 / 0.6975 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.5051, allocations: 4.956 MB / 0.7023 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.5055, allocations: 199.4 kB / 0.7025 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.5057, allocations: 16 kB / 0.7025 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5067, allocations: 115.9 kB / 0.7026 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007022/0.5074, allocations: 212.7 kB / 0.7028 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.5075, allocations: 31.98 kB / 0.7028 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007765/0.5083, allocations: 0.5891 MB / 0.7034 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.452e-06/0.5083, allocations: 0 / 0.7034 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00124/0.5096, allocations: 455.3 kB / 0.7039 GB, free: 3.34 MB / 0.4981 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.000265/0.5099, allocations: 131.1 kB / 0.704 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006624/0.5165, allocations: 2.475 MB / 0.7064 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5165, allocations: 8.188 kB / 0.7064 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004403/0.5209, allocations: 1.605 MB / 0.708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/0.5218, allocations: 97.84 kB / 0.7081 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.5264, allocations: 2.04 MB / 0.7101 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.5271, allocations: 1.095 MB / 0.7111 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.5274, allocations: 90.75 kB / 0.7112 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.5277, allocations: 67.42 kB / 0.7113 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.5277, allocations: 4 kB / 0.7113 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.03707/0.5648, allocations: 23.64 MB / 0.7344 GB, free: 3.98 MB / 0.5294 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)