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-master/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-master/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-master/package.mo): time 0.1224/0.1224, allocations: 12.6 MB / 28.1 MB, free: 0.8203 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.001416/0.001416, allocations: 107.5 kB / 31.7 MB, free: 3.949 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.349/1.349, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001243/0.001243, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4321/0.4321, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.003017/0.003018, allocations: 139.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2841, allocations: 68.1 MB / 0.5547 GB, free: 32.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00635/0.2905, allocations: 6.537 MB / 0.5611 GB, free: 27.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003768/0.2943, allocations: 1.843 MB / 0.5629 GB, free: 26.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006967/0.295, allocations: 10.69 kB / 0.5629 GB, free: 26.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.2955, allocations: 226.4 kB / 0.5631 GB, free: 26.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.2971, allocations: 0.7151 MB / 0.5638 GB, free: 25.71 MB / 398.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.001176/0.2983, allocations: 0.6147 MB / 0.5644 GB, free: 25.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.2995, allocations: 1.418 MB / 0.5658 GB, free: 24.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.3, allocations: 329.9 kB / 0.5661 GB, free: 24.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.3006, allocations: 0.5884 MB / 0.5667 GB, free: 23.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.3012, allocations: 0.7268 MB / 0.5674 GB, free: 23.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.3014, allocations: 100.5 kB / 0.5675 GB, free: 23.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.3018, allocations: 243.2 kB / 0.5677 GB, free: 23.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.302, allocations: 282.9 kB / 0.568 GB, free: 23.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.3024, allocations: 0.6209 MB / 0.5686 GB, free: 22.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.3036, allocations: 1.506 MB / 0.57 GB, free: 21.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3036, allocations: 0 / 0.57 GB, free: 21.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3036, allocations: 3.938 kB / 0.57 GB, free: 21.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.3037, allocations: 1.031 kB / 0.57 GB, free: 21.46 MB / 398.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.008016/0.3117, allocations: 2.56 MB / 0.5725 GB, free: 19.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3117, allocations: 13.02 kB / 0.5726 GB, free: 19.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.3119, allocations: 132.3 kB / 0.5727 GB, free: 19.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.317, allocations: 0.7703 MB / 0.5734 GB, free: 19.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.318, allocations: 0.7762 MB / 0.5742 GB, free: 18.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.3183, allocations: 259 kB / 0.5744 GB, free: 18.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3184, allocations: 80.84 kB / 0.5745 GB, free: 18.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.3206, allocations: 1.081 MB / 0.5756 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3206, allocations: 1.062 kB / 0.5756 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.3207, allocations: 30.41 kB / 0.5756 GB, free: 17.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.3207, allocations: 22.12 kB / 0.5756 GB, free: 17.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.3229, allocations: 1.119 MB / 0.5767 GB, free: 16.77 MB / 398.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.004717/0.3277, allocations: 3.475 MB / 0.5801 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3295, allocations: 1.428 MB / 0.5815 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3309, allocations: 0.7852 MB / 0.5823 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/0.331, allocations: 12.98 kB / 0.5823 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.331, allocations: 47.56 kB / 0.5823 GB, free: 10.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.785e-06/0.3311, allocations: 0 / 0.5823 GB, free: 10.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02454/0.3556, allocations: 6.61 MB / 0.5888 GB, free: 4.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3557, allocations: 68.39 kB / 0.5888 GB, free: 4.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3567, allocations: 0.8923 MB / 0.5897 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.357, allocations: 41.7 kB / 0.5898 GB, free: 3.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.3572, allocations: 0.4889 MB / 0.5902 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.3575, allocations: 347.1 kB / 0.5906 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.3579, allocations: 202.8 kB / 0.5908 GB, free: 2.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.3579, allocations: 357.8 kB / 0.5911 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.3594, allocations: 0.7404 MB / 0.5918 GB, free: 0.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.361, allocations: 0.8619 MB / 0.5927 GB, free: 24 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/0.3807, allocations: 4.853 MB / 0.5974 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3807, allocations: 0 / 0.5974 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0145/0.3952, allocations: 4.285 MB / 0.6016 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3953, allocations: 4 kB / 0.6016 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.3953, allocations: 4 kB / 0.6016 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00624/0.4016, allocations: 1.734 MB / 0.6033 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.4028, allocations: 227.7 kB / 0.6035 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.4252, allocations: 9.075 MB / 0.6124 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.4273, allocations: 182.9 kB / 0.6125 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.4275, allocations: 43.92 kB / 0.6126 GB, free: 11.43 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.0005598/0.4281, allocations: 233.7 kB / 0.6128 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.4284, allocations: 126.4 kB / 0.6129 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.4422, allocations: 4.014 MB / 0.6168 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.4423, allocations: 8 kB / 0.6169 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4423, allocations: 7.938 kB / 0.6169 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.4423, allocations: 7.969 kB / 0.6169 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.4587, allocations: 5.606 MB / 0.6223 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4588, allocations: 0 / 0.6223 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.4595, allocations: 139.8 kB / 0.6225 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006296/0.4658, allocations: 1.745 MB / 0.6242 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.466, allocations: 16 kB / 0.6242 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.4856, allocations: 8.06 MB / 0.6321 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4856, allocations: 0 / 0.6321 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/0.5013, allocations: 4.958 MB / 0.6369 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.5017, allocations: 207.4 kB / 0.6371 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.502, allocations: 16 kB / 0.6371 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.5032, allocations: 107.9 kB / 0.6372 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007012/0.5039, allocations: 224.5 kB / 0.6374 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.504, allocations: 23.98 kB / 0.6375 GB, free: 1.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000858/0.5049, allocations: 0.5969 MB / 0.638 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5049, allocations: 0 / 0.638 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.5063, allocations: 439.4 kB / 0.6385 GB, free: 0.543 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.01612/0.5224, allocations: 5.534 MB / 0.6439 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007582/0.53, allocations: 2.51 MB / 0.6463 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.53, allocations: 0 / 0.6463 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005066/0.5351, allocations: 1.605 MB / 0.6479 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.5361, allocations: 92.34 kB / 0.648 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04134/0.5774, allocations: 15.99 MB / 0.6636 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.5781, allocations: 1.103 MB / 0.6647 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004363/0.5786, allocations: 86.77 kB / 0.6648 GB, free: 5.133 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/0.5791, allocations: 447.3 kB / 0.6652 GB, free: 4.695 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5792, allocations: 0 / 0.6652 GB, free: 4.695 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/0.6431, allocations: 33.18 MB / 0.6976 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.15, allocations: 15.45 kB / 0.6976 GB, free: 3.578 MB / 0.4981 GB (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/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)