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.1401/0.1401, allocations: 12.59 MB / 28.23 MB, free: 0.7617 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.001467/0.001467, allocations: 115.4 kB / 31.84 MB, free: 3.891 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.002046/0.002047, allocations: 199.5 kB / 290.7 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5525/0.5525, allocations: 78.51 MB / 419.3 MB, free: 10.76 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.004249/0.004249, allocations: 148.8 kB / 0.5554 GB, free: 17.78 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.189, allocations: 68.13 MB / 0.6219 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.01225/0.2013, allocations: 6.519 MB / 0.6283 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.2072, allocations: 1.834 MB / 0.6301 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.2084, allocations: 15.94 kB / 0.6301 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008541/0.2093, allocations: 222 kB / 0.6303 GB, free: 5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.2121, allocations: 0.7181 MB / 0.631 GB, free: 4.277 MB / 446.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.002387/0.2145, allocations: 0.6235 MB / 0.6316 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.217, allocations: 1.425 MB / 0.633 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.2178, allocations: 332.3 kB / 0.6333 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.219, allocations: 0.5873 MB / 0.6339 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.2203, allocations: 0.7349 MB / 0.6346 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.2205, allocations: 100 kB / 0.6347 GB, free: 480 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008359/0.2214, allocations: 239.9 kB / 0.6349 GB, free: 240 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.2218, allocations: 278.8 kB / 0.6352 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008402/0.2226, allocations: 0.6251 MB / 0.6358 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.2252, allocations: 1.523 MB / 0.6373 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.2252, allocations: 4 kB / 0.6373 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2252, allocations: 0 / 0.6373 GB, free: 13.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.2253, allocations: 7.938 kB / 0.6373 GB, free: 13.79 MB / 462.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.01331/0.2386, allocations: 2.548 MB / 0.6398 GB, free: 11.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2386, allocations: 19.97 kB / 0.6398 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.2389, allocations: 126.8 kB / 0.64 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009643/0.2485, allocations: 0.7826 MB / 0.6407 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.2508, allocations: 0.7725 MB / 0.6415 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/0.2512, allocations: 252.2 kB / 0.6417 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/0.2515, allocations: 87.94 kB / 0.6418 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.2554, allocations: 1.085 MB / 0.6429 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2555, allocations: 0 / 0.6429 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.2556, allocations: 28 kB / 0.6429 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.2557, allocations: 20 kB / 0.6429 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.2601, allocations: 1.12 MB / 0.644 GB, free: 6.793 MB / 462.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.009892/0.27, allocations: 3.444 MB / 0.6474 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.2737, allocations: 1.432 MB / 0.6488 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002859/0.2766, allocations: 0.793 MB / 0.6495 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.2768, allocations: 12.98 kB / 0.6495 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.2769, allocations: 43.56 kB / 0.6496 GB, free: 0.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 4.328e-06/0.2769, allocations: 0 / 0.6496 GB, free: 0.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.04504/0.322, allocations: 6.613 MB / 0.656 GB, free: 10.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.3221, allocations: 60.41 kB / 0.6561 GB, free: 10.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.3244, allocations: 0.8922 MB / 0.657 GB, free: 9.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.3248, allocations: 49.7 kB / 0.657 GB, free: 9.109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.3254, allocations: 492.7 kB / 0.6575 GB, free: 8.621 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.3262, allocations: 354.9 kB / 0.6578 GB, free: 8.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009777/0.3272, allocations: 202.8 kB / 0.658 GB, free: 8.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3274, allocations: 357.9 kB / 0.6584 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.3302, allocations: 0.7287 MB / 0.6591 GB, free: 6.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.3334, allocations: 0.858 MB / 0.6599 GB, free: 6.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03288/0.3663, allocations: 4.846 MB / 0.6646 GB, free: 1.211 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.3663, allocations: 0 / 0.6646 GB, free: 1.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.02507/0.3914, allocations: 4.281 MB / 0.6688 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3915, allocations: 4 kB / 0.6688 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.3915, allocations: 4 kB / 0.6688 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.4023, allocations: 1.73 MB / 0.6705 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.4044, allocations: 227.7 kB / 0.6707 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03792/0.4424, allocations: 9.049 MB / 0.6796 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.4451, allocations: 182.9 kB / 0.6797 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/0.4455, allocations: 39.98 kB / 0.6798 GB, free: 1.52 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.001125/0.4467, allocations: 233.7 kB / 0.68 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.4473, allocations: 134.4 kB / 0.6801 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5606/1.008, allocations: 4.001 MB / 0.684 GB, free: 54.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/1.008, allocations: 9.281 kB / 0.6841 GB, free: 54.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.008, allocations: 4.594 kB / 0.6841 GB, free: 54.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/1.008, allocations: 6.078 kB / 0.6841 GB, free: 54.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/1.033, allocations: 5.602 MB / 0.6895 GB, free: 53.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/1.033, allocations: 1.078 kB / 0.6895 GB, free: 53.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.035, allocations: 135.5 kB / 0.6897 GB, free: 53.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009175/1.044, allocations: 1.742 MB / 0.6914 GB, free: 53.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.044, allocations: 20.14 kB / 0.6914 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02604/1.07, allocations: 8.051 MB / 0.6992 GB, free: 49.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.07, allocations: 7.719 kB / 0.6993 GB, free: 49.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/1.092, allocations: 4.951 MB / 0.7041 GB, free: 47.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000607/1.092, allocations: 207.9 kB / 0.7043 GB, free: 47.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/1.093, allocations: 15.91 kB / 0.7043 GB, free: 47.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.094, allocations: 109.4 kB / 0.7044 GB, free: 47.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009951/1.095, allocations: 224.5 kB / 0.7046 GB, free: 47.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.095, allocations: 24.48 kB / 0.7046 GB, free: 47.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001092/1.096, allocations: 0.5968 MB / 0.7052 GB, free: 46.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.096, allocations: 0 / 0.7052 GB, free: 46.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001972/1.098, allocations: 440.9 kB / 0.7056 GB, free: 46.88 MB / 494.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.02037/1.119, allocations: 5.539 MB / 0.7111 GB, free: 43.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008876/1.128, allocations: 2.489 MB / 0.7135 GB, free: 42.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.128, allocations: 0 / 0.7135 GB, free: 42.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006333/1.134, allocations: 1.6 MB / 0.715 GB, free: 41.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.135, allocations: 89.28 kB / 0.7151 GB, free: 40.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0554/1.191, allocations: 15.37 MB / 0.7301 GB, free: 25.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.191, allocations: 1.099 MB / 0.7312 GB, free: 24.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006814/1.192, allocations: 94.19 kB / 0.7313 GB, free: 24.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/1.193, allocations: 447.3 kB / 0.7317 GB, free: 23.8 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/1.193, allocations: 0 / 0.7317 GB, free: 23.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09381/1.287, allocations: 34.96 MB / 0.7659 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.84/31.13, allocations: 7.047 kB / 0.7659 GB, free: 4.922 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)