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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009621, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.288/1.288, allocations: 223.2 MB / 238.9 MB, free: 5.453 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.001058/0.001058, allocations: 189.1 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4431/0.4431, allocations: 78.53 MB / 419.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12 kB / 499.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 69.36 MB / 0.5558 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.205/0.3204, allocations: 5.655 MB / 0.5613 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.3239, allocations: 1.846 MB / 0.5631 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007261/0.3247, allocations: 18.41 kB / 0.5631 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.3252, allocations: 159.1 kB / 0.5633 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.3267, allocations: 0.6525 MB / 0.5639 GB, free: 36.83 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.001063/0.3278, allocations: 0.513 MB / 0.5644 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.3292, allocations: 0.9214 MB / 0.5653 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.3297, allocations: 270.2 kB / 0.5656 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007027/0.3304, allocations: 0.5041 MB / 0.5661 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/0.331, allocations: 0.6228 MB / 0.5667 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3311, allocations: 52.03 kB / 0.5667 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.3315, allocations: 166 kB / 0.5669 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.3317, allocations: 218.7 kB / 0.5671 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.3319, allocations: 227.4 kB / 0.5673 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.3329, allocations: 1.05 MB / 0.5683 GB, free: 36.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.3329, allocations: 0 / 0.5683 GB, free: 36.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3329, allocations: 3.875 kB / 0.5683 GB, free: 36.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.3329, allocations: 0.6875 kB / 0.5683 GB, free: 36.04 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.007042/0.3399, allocations: 2.406 MB / 0.5707 GB, free: 35.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.34, allocations: 11.22 kB / 0.5707 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.3402, allocations: 130.5 kB / 0.5708 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.3451, allocations: 0.7917 MB / 0.5716 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3462, allocations: 0.7222 MB / 0.5723 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.3465, allocations: 271.7 kB / 0.5725 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.3466, allocations: 84.03 kB / 0.5726 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.3488, allocations: 1.156 MB / 0.5738 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3488, allocations: 0 / 0.5738 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.3489, allocations: 34.62 kB / 0.5738 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3489, allocations: 21.86 kB / 0.5738 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.3513, allocations: 1.242 MB / 0.575 GB, free: 34.03 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.005062/0.3563, allocations: 3.627 MB / 0.5786 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.3582, allocations: 1.519 MB / 0.58 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.3583, allocations: 16.28 kB / 0.5801 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.3584, allocations: 43.72 kB / 0.5801 GB, free: 30.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.564e-06/0.3584, allocations: 3.938 kB / 0.5801 GB, free: 30.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02714/0.3855, allocations: 8.168 MB / 0.5881 GB, free: 29.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3856, allocations: 65.61 kB / 0.5881 GB, free: 29.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.3869, allocations: 0.8849 MB / 0.589 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.3872, allocations: 42.08 kB / 0.5891 GB, free: 29.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.3875, allocations: 495.2 kB / 0.5895 GB, free: 28.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.3879, allocations: 352.9 kB / 0.5899 GB, free: 28.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.388, allocations: 25.34 kB / 0.5899 GB, free: 28.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.3881, allocations: 352.5 kB / 0.5902 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.3898, allocations: 0.8149 MB / 0.591 GB, free: 27.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.3916, allocations: 0.9469 MB / 0.5919 GB, free: 27.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.3934, allocations: 0.8692 MB / 0.5928 GB, free: 27.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3934, allocations: 1.094 kB / 0.5928 GB, free: 27.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01537/0.4088, allocations: 5.246 MB / 0.5979 GB, free: 25.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4089, allocations: 6.656 kB / 0.5979 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4089, allocations: 2.281 kB / 0.5979 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006907/0.4158, allocations: 2.092 MB / 0.6 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.417, allocations: 233.4 kB / 0.6002 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.4393, allocations: 9.977 MB / 0.6099 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.4409, allocations: 226.6 kB / 0.6101 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4411, allocations: 44.16 kB / 0.6102 GB, free: 21.15 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005253/0.4416, allocations: 237.5 kB / 0.6104 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.4419, allocations: 120.8 kB / 0.6105 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.4554, allocations: 4.951 MB / 0.6154 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.4554, allocations: 12 kB / 0.6154 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4555, allocations: 0.6875 kB / 0.6154 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.4555, allocations: 3.984 kB / 0.6154 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.4701, allocations: 6.549 MB / 0.6218 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.4702, allocations: 0 / 0.6218 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.471, allocations: 143.9 kB / 0.6219 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00589/0.477, allocations: 2.055 MB / 0.6239 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/0.4772, allocations: 23.98 kB / 0.6239 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.4947, allocations: 8.634 MB / 0.6324 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4948, allocations: 0 / 0.6324 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/0.5116, allocations: 5.978 MB / 0.6382 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.5122, allocations: 211.4 kB / 0.6384 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.5124, allocations: 16 kB / 0.6384 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.5136, allocations: 157.2 kB / 0.6386 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006653/0.5143, allocations: 220.5 kB / 0.6388 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.5144, allocations: 20.61 kB / 0.6388 GB, free: 8.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007675/0.5151, allocations: 0.593 MB / 0.6394 GB, free: 7.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5151, allocations: 0 / 0.6394 GB, free: 7.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001534/0.5167, allocations: 447.4 kB / 0.6398 GB, free: 7.383 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01713/0.5338, allocations: 6.558 MB / 0.6462 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007603/0.5415, allocations: 2.778 MB / 0.6489 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5415, allocations: 0 / 0.6489 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005267/0.5468, allocations: 1.803 MB / 0.6507 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.5475, allocations: 80.41 kB / 0.6508 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.5523, allocations: 4.288 MB / 0.655 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.5529, allocations: 1.123 MB / 0.6561 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.5533, allocations: 85.64 kB / 0.6561 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.5538, allocations: 443.3 kB / 0.6566 GB, free: 6.102 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5538, allocations: 4 kB / 0.6566 GB, free: 6.098 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.601, allocations: 29.2 MB / 0.6851 GB, free: 9.273 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.6012, allocations: 204.2 kB / 0.6853 GB, free: 9.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.087, allocations: 0 / 0.6853 GB, free: 9.035 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: