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.007683/0.007683, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.439/1.439, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001912/0.001912, allocations: 199.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5286/0.5286, allocations: 78.51 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.88 kB / 0.5536 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3572, allocations: 68.17 MB / 0.6202 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006161/0.3634, allocations: 6.481 MB / 0.6265 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.3671, allocations: 1.868 MB / 0.6284 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.3683, allocations: 12 kB / 0.6284 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.3691, allocations: 218 kB / 0.6286 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.3717, allocations: 0.7722 MB / 0.6293 GB, free: 0.8711 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.001611/0.3733, allocations: 0.6202 MB / 0.6299 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.3757, allocations: 1.429 MB / 0.6313 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.3763, allocations: 324.4 kB / 0.6316 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3775, allocations: 0.5912 MB / 0.6322 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.379, allocations: 0.735 MB / 0.6329 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.3794, allocations: 100 kB / 0.633 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009595/0.3804, allocations: 243.8 kB / 0.6333 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.3809, allocations: 278.7 kB / 0.6335 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.382, allocations: 0.6213 MB / 0.6341 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.3846, allocations: 1.516 MB / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3847, allocations: 0 / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.3847, allocations: 4 kB / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.408e-05/0.3848, allocations: 7.875 kB / 0.6356 GB, free: 10.4 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.008987/0.3937, allocations: 2.563 MB / 0.6381 GB, free: 7.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3938, allocations: 12.03 kB / 0.6381 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/0.3989, allocations: 0.7749 MB / 0.6389 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.4003, allocations: 0.7724 MB / 0.6397 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.4006, allocations: 260.2 kB / 0.6399 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4008, allocations: 79.94 kB / 0.64 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.4032, allocations: 1.081 MB / 0.641 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4033, allocations: 3.938 kB / 0.641 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.4034, allocations: 32 kB / 0.6411 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4034, allocations: 16 kB / 0.6411 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.406, allocations: 1.128 MB / 0.6422 GB, free: 3.523 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.005956/0.4119, allocations: 3.452 MB / 0.6456 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.4142, allocations: 1.427 MB / 0.6469 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.4159, allocations: 0.7813 MB / 0.6477 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.416, allocations: 24.97 kB / 0.6477 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.416, allocations: 39.56 kB / 0.6478 GB, free: 13.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.896e-06/0.4161, allocations: 0 / 0.6478 GB, free: 13.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02688/0.4429, allocations: 6.61 MB / 0.6542 GB, free: 6.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.443, allocations: 64.41 kB / 0.6543 GB, free: 6.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.4442, allocations: 0.8845 MB / 0.6552 GB, free: 5.895 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.4444, allocations: 41.7 kB / 0.6552 GB, free: 5.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.4448, allocations: 0.4929 MB / 0.6557 GB, free: 5.348 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/0.4452, allocations: 347 kB / 0.656 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.4456, allocations: 206.8 kB / 0.6562 GB, free: 4.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4457, allocations: 349.9 kB / 0.6565 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.4475, allocations: 0.7326 MB / 0.6572 GB, free: 3.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.4493, allocations: 0.8656 MB / 0.6581 GB, free: 2.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02018/0.4695, allocations: 4.857 MB / 0.6628 GB, free: 13.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.4696, allocations: 0 / 0.6628 GB, free: 13.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01541/0.485, allocations: 4.281 MB / 0.667 GB, free: 9.629 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.4851, allocations: 10.34 kB / 0.667 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4851, allocations: 4 kB / 0.667 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006446/0.4915, allocations: 1.718 MB / 0.6687 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.4928, allocations: 227.7 kB / 0.6689 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.5157, allocations: 9.06 MB / 0.6778 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.5173, allocations: 174.9 kB / 0.6779 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.5176, allocations: 43.98 kB / 0.678 GB, free: 14.24 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.0006168/0.5182, allocations: 237.6 kB / 0.6782 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.5186, allocations: 122.4 kB / 0.6783 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.5328, allocations: 4.006 MB / 0.6822 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.5329, allocations: 8 kB / 0.6822 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.5329, allocations: 0 / 0.6822 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/0.5329, allocations: 7.984 kB / 0.6823 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/0.5503, allocations: 5.614 MB / 0.6877 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.5504, allocations: 0 / 0.6877 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.5513, allocations: 131.8 kB / 0.6879 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006473/0.5578, allocations: 1.737 MB / 0.6896 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.558, allocations: 20 kB / 0.6896 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/0.5786, allocations: 8.053 MB / 0.6974 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5786, allocations: 7.984 kB / 0.6975 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/0.5955, allocations: 4.956 MB / 0.7023 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.5962, allocations: 203.4 kB / 0.7025 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/0.5968, allocations: 16 kB / 0.7025 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.5984, allocations: 107.9 kB / 0.7026 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000848/0.5993, allocations: 220.7 kB / 0.7028 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.5994, allocations: 24 kB / 0.7028 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009495/0.6004, allocations: 0.593 MB / 0.7034 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6004, allocations: 3.938 kB / 0.7034 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002049/0.6025, allocations: 447.3 kB / 0.7038 GB, free: 3.395 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.0003555/0.6028, allocations: 131.1 kB / 0.704 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00756/0.6104, allocations: 2.48 MB / 0.7064 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6104, allocations: 0 / 0.7064 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005548/0.616, allocations: 1.613 MB / 0.708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.617, allocations: 84.36 kB / 0.708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.6213, allocations: 2.044 MB / 0.71 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.6221, allocations: 1.099 MB / 0.7111 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000434/0.6226, allocations: 90.77 kB / 0.7112 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.6228, allocations: 71.41 kB / 0.7113 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.6228, allocations: 0 / 0.7113 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.03789/0.6607, allocations: 23.64 MB / 0.7344 GB, free: 4.035 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)