Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08212/0.08212, allocations: 12.2 MB / 27.16 MB, free: 1.523 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009761/0.0009762, allocations: 92.19 kB / 30.66 MB, free: 4.871 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 239.5 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 182.5 kB / 290.6 MB, free: 14.06 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4092/0.4092, allocations: 78.5 MB / 420.1 MB, free: 12.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008548/0.0008551, allocations: 24 kB / 0.4895 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2727, allocations: 69.22 MB / 0.5571 GB, free: 21.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004116/0.2769, allocations: 5.709 MB / 0.5627 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2794, allocations: 1.816 MB / 0.5645 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.2799, allocations: 15.94 kB / 0.5645 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.2802, allocations: 158.7 kB / 0.5646 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.2815, allocations: 0.6656 MB / 0.5653 GB, free: 12.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0009433/0.2824, allocations: 0.5164 MB / 0.5658 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.2833, allocations: 0.9208 MB / 0.5667 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.2836, allocations: 265.7 kB / 0.5669 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.284, allocations: 0.4979 MB / 0.5674 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.2845, allocations: 0.6301 MB / 0.568 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.2846, allocations: 52 kB / 0.5681 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.2849, allocations: 167.8 kB / 0.5682 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2851, allocations: 215 kB / 0.5684 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2852, allocations: 225 kB / 0.5687 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.2859, allocations: 1.052 MB / 0.5697 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2859, allocations: 0 / 0.5697 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2859, allocations: 0 / 0.5697 GB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2859, allocations: 4 kB / 0.5697 GB, free: 8.215 MB / 382.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.006744/0.2927, allocations: 2.401 MB / 0.572 GB, free: 5.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2927, allocations: 11.98 kB / 0.572 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.2929, allocations: 130.8 kB / 0.5722 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.2975, allocations: 0.7866 MB / 0.5729 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.2985, allocations: 0.7304 MB / 0.5737 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.2987, allocations: 276 kB / 0.5739 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2988, allocations: 83.94 kB / 0.574 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.3008, allocations: 1.159 MB / 0.5751 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3009, allocations: 0 / 0.5751 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.301, allocations: 28 kB / 0.5752 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.301, allocations: 20 kB / 0.5752 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.3032, allocations: 1.238 MB / 0.5764 GB, free: 1.199 MB / 382.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.00539/0.3086, allocations: 3.634 MB / 0.5799 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.3109, allocations: 1.513 MB / 0.5814 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.311, allocations: 24.97 kB / 0.5814 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.311, allocations: 43.56 kB / 0.5815 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.675e-06/0.311, allocations: 0 / 0.5815 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02731/0.3384, allocations: 8.169 MB / 0.5895 GB, free: 3.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3385, allocations: 64.39 kB / 0.5895 GB, free: 3.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.3396, allocations: 0.8806 MB / 0.5904 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.3398, allocations: 41.7 kB / 0.5904 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.3401, allocations: 492.8 kB / 0.5909 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.3405, allocations: 354.9 kB / 0.5912 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.3406, allocations: 24 kB / 0.5912 GB, free: 1.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3407, allocations: 353.9 kB / 0.5916 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.3425, allocations: 0.8147 MB / 0.5924 GB, free: 440 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.3444, allocations: 0.9516 MB / 0.5933 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.3462, allocations: 0.8628 MB / 0.5941 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3462, allocations: 0 / 0.5941 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01511/0.3613, allocations: 5.253 MB / 0.5993 GB, free: 9.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3614, allocations: 12 kB / 0.5993 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3614, allocations: 0 / 0.5993 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006985/0.3684, allocations: 2.088 MB / 0.6013 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3695, allocations: 231.7 kB / 0.6016 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/0.3921, allocations: 9.974 MB / 0.6113 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.3938, allocations: 226.9 kB / 0.6115 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.394, allocations: 39.98 kB / 0.6115 GB, free: 12.61 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.0006843/0.3947, allocations: 244 kB / 0.6118 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.3951, allocations: 118.5 kB / 0.6119 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.41, allocations: 4.959 MB / 0.6167 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.41, allocations: 12 kB / 0.6167 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4101, allocations: 3.938 kB / 0.6168 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.4101, allocations: 3.984 kB / 0.6168 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.4271, allocations: 6.54 MB / 0.6231 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4271, allocations: 3.938 kB / 0.6231 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.4278, allocations: 147.8 kB / 0.6233 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006479/0.4343, allocations: 2.054 MB / 0.6253 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.4345, allocations: 20 kB / 0.6253 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.4543, allocations: 8.628 MB / 0.6337 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4543, allocations: 0 / 0.6337 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.4707, allocations: 5.982 MB / 0.6396 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.4711, allocations: 211.3 kB / 0.6398 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.4713, allocations: 16 kB / 0.6398 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.4725, allocations: 155.9 kB / 0.6399 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006189/0.4731, allocations: 224.5 kB / 0.6402 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.4732, allocations: 20 kB / 0.6402 GB, free: 14.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007968/0.474, allocations: 0.593 MB / 0.6408 GB, free: 14.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.474, allocations: 0 / 0.6408 GB, free: 14.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001279/0.4753, allocations: 439.5 kB / 0.6412 GB, free: 13.9 MB / 462.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.01702/0.4923, allocations: 6.549 MB / 0.6476 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007212/0.4995, allocations: 2.795 MB / 0.6503 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4996, allocations: 0 / 0.6503 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00496/0.5045, allocations: 1.806 MB / 0.6521 GB, free: 2.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.5051, allocations: 79.64 kB / 0.6521 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.5106, allocations: 4.278 MB / 0.6563 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.5114, allocations: 1.126 MB / 0.6574 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003585/0.5118, allocations: 86.75 kB / 0.6575 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.5124, allocations: 443.3 kB / 0.6579 GB, free: 12.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5124, allocations: 4 kB / 0.6579 GB, free: 12.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2652/0.7776, allocations: 29.21 MB / 0.6865 GB, free: 117.2 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.7778, allocations: 207.6 kB / 0.6867 GB, free: 117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.442, allocations: 3 kB / 0.6867 GB, free: 117 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: