Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.09943/0.09943, allocations: 12.2 MB / 27.17 MB, free: 1.516 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.001081/0.001081, allocations: 103.2 kB / 30.68 MB, free: 4.867 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.824/1.824, allocations: 205.4 MB / 239.5 MB, free: 12.18 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.00109/0.001089, allocations: 181.7 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6013/0.6013, allocations: 78.54 MB / 420.1 MB, free: 48.9 MB / 334.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.0009832/0.0009833, allocations: 28 kB / 0.4895 GB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4969, allocations: 69.22 MB / 0.5571 GB, free: 42.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007522/0.5045, allocations: 5.962 MB / 0.563 GB, free: 41.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00529/0.5099, allocations: 1.773 MB / 0.5647 GB, free: 39.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.5111, allocations: 11 kB / 0.5647 GB, free: 39.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.5118, allocations: 156.9 kB / 0.5649 GB, free: 39.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.5138, allocations: 0.5941 MB / 0.5654 GB, free: 39.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.5154, allocations: 0.524 MB / 0.566 GB, free: 39.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.5172, allocations: 1.275 MB / 0.5672 GB, free: 38.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.5178, allocations: 271 kB / 0.5675 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.5185, allocations: 0.503 MB / 0.5679 GB, free: 38.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.5193, allocations: 0.6444 MB / 0.5686 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.5195, allocations: 52.75 kB / 0.5686 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.52, allocations: 175.6 kB / 0.5688 GB, free: 37.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.5202, allocations: 214.7 kB / 0.569 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.5205, allocations: 232.5 kB / 0.5692 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.5216, allocations: 1.1 MB / 0.5703 GB, free: 37.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.5216, allocations: 4 kB / 0.5703 GB, free: 37.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5216, allocations: 3.328 kB / 0.5703 GB, free: 37.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5216, allocations: 0 / 0.5703 GB, free: 37.09 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.006862/0.5285, allocations: 2.396 MB / 0.5726 GB, free: 36.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5286, allocations: 16.55 kB / 0.5727 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.5288, allocations: 130.3 kB / 0.5728 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.5334, allocations: 0.786 MB / 0.5735 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.5349, allocations: 0.7291 MB / 0.5743 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.5352, allocations: 271.4 kB / 0.5745 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5354, allocations: 77 kB / 0.5746 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.5377, allocations: 1.162 MB / 0.5757 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5377, allocations: 0 / 0.5757 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.5378, allocations: 30.62 kB / 0.5758 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.5378, allocations: 21.83 kB / 0.5758 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.5404, allocations: 1.24 MB / 0.577 GB, free: 34.27 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.005614/0.546, allocations: 3.525 MB / 0.5804 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.548, allocations: 1.512 MB / 0.5819 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.5495, allocations: 0.8689 MB / 0.5828 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.5496, allocations: 15.92 kB / 0.5828 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5497, allocations: 46.28 kB / 0.5828 GB, free: 30.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.606e-06/0.5497, allocations: 0 / 0.5828 GB, free: 30.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02331/0.573, allocations: 8.169 MB / 0.5908 GB, free: 29.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.5731, allocations: 61.41 kB / 0.5909 GB, free: 29.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.575, allocations: 0.8867 MB / 0.5917 GB, free: 29.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.5752, allocations: 49.45 kB / 0.5918 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.5757, allocations: 0.4907 MB / 0.5922 GB, free: 28.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.5761, allocations: 346.8 kB / 0.5926 GB, free: 28.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.5762, allocations: 24.5 kB / 0.5926 GB, free: 28.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5763, allocations: 351.3 kB / 0.5929 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.5781, allocations: 0.8081 MB / 0.5937 GB, free: 27.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.5801, allocations: 0.9416 MB / 0.5946 GB, free: 27.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.582, allocations: 0.862 MB / 0.5955 GB, free: 27.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.582, allocations: 1.875 kB / 0.5955 GB, free: 27.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01625/0.5983, allocations: 5.201 MB / 0.6006 GB, free: 25.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.5984, allocations: 9.188 kB / 0.6006 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.5984, allocations: 3.047 kB / 0.6006 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00735/0.6058, allocations: 2.106 MB / 0.6026 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.6072, allocations: 239.3 kB / 0.6029 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.6285, allocations: 9.546 MB / 0.6122 GB, free: 19.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.6303, allocations: 215 kB / 0.6124 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.6304, allocations: 43.98 kB / 0.6124 GB, free: 19.27 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.6309, allocations: 251.5 kB / 0.6127 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.6311, allocations: 122.5 kB / 0.6128 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.6424, allocations: 4.952 MB / 0.6176 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6425, allocations: 8 kB / 0.6176 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6425, allocations: 0 / 0.6176 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6425, allocations: 11.97 kB / 0.6176 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.6556, allocations: 6.555 MB / 0.624 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6557, allocations: 0 / 0.624 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.6564, allocations: 147.8 kB / 0.6242 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005184/0.6616, allocations: 2.054 MB / 0.6262 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.6618, allocations: 16 kB / 0.6262 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.6801, allocations: 8.209 MB / 0.6342 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6802, allocations: 0 / 0.6342 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.6962, allocations: 5.986 MB / 0.6401 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/0.6969, allocations: 211.3 kB / 0.6403 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/0.6974, allocations: 20 kB / 0.6403 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.6988, allocations: 155.9 kB / 0.6404 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009115/0.6998, allocations: 216.6 kB / 0.6406 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.6999, allocations: 27.98 kB / 0.6407 GB, free: 6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.7011, allocations: 0.5852 MB / 0.6412 GB, free: 5.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7011, allocations: 7.875 kB / 0.6412 GB, free: 5.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002161/0.7033, allocations: 443.5 kB / 0.6417 GB, free: 4.965 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01646/0.7198, allocations: 6.561 MB / 0.6481 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00774/0.7276, allocations: 2.773 MB / 0.6508 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.7276, allocations: 0 / 0.6508 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005111/0.7327, allocations: 1.798 MB / 0.6525 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.7343, allocations: 84.89 kB / 0.6526 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02901/0.7634, allocations: 11.62 MB / 0.664 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.7645, allocations: 1.099 MB / 0.665 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000605/0.7651, allocations: 86.77 kB / 0.6651 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008113/0.766, allocations: 439.3 kB / 0.6655 GB, free: 12.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.766, allocations: 4 kB / 0.6655 GB, free: 12.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/0.8364, allocations: 29.9 MB / 0.6947 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.8367, allocations: 215.8 kB / 0.695 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.644, allocations: 0 / 0.695 GB, free: 14.1 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: