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-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.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-master/package.mo): time 0.08185/0.08185, allocations: 12.6 MB / 28.1 MB, free: 248 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 103.5 kB / 31.7 MB, free: 3.492 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.271/1.271, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001252/0.001251, allocations: 199.1 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.432/0.432, allocations: 78.5 MB / 419.2 MB, free: 11.33 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.002987/0.002987, allocations: 143.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2857, allocations: 68.11 MB / 0.5547 GB, free: 32.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006163/0.292, allocations: 6.478 MB / 0.561 GB, free: 27.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2954, allocations: 1.839 MB / 0.5628 GB, free: 26.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.2961, allocations: 15.47 kB / 0.5628 GB, free: 26.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.2965, allocations: 217.8 kB / 0.563 GB, free: 26.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.2981, allocations: 0.7215 MB / 0.5637 GB, free: 25.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2993, allocations: 0.6075 MB / 0.5643 GB, free: 25.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3006, allocations: 1.41 MB / 0.5657 GB, free: 24.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.301, allocations: 335.1 kB / 0.566 GB, free: 24.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.3016, allocations: 0.5849 MB / 0.5666 GB, free: 23.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.3023, allocations: 0.7307 MB / 0.5673 GB, free: 23.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3024, allocations: 101.4 kB / 0.5674 GB, free: 23.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.3029, allocations: 238.5 kB / 0.5676 GB, free: 23.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.3031, allocations: 279.4 kB / 0.5679 GB, free: 23.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.3035, allocations: 0.631 MB / 0.5685 GB, free: 22.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3046, allocations: 1.5 MB / 0.57 GB, free: 21.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3046, allocations: 5.094 kB / 0.57 GB, free: 21.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3046, allocations: 0 / 0.57 GB, free: 21.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3046, allocations: 0 / 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007719/0.3124, allocations: 2.556 MB / 0.5725 GB, free: 19.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3124, allocations: 13.77 kB / 0.5725 GB, free: 19.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.3126, allocations: 128.2 kB / 0.5726 GB, free: 19.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.3176, allocations: 0.7825 MB / 0.5734 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3186, allocations: 0.7732 MB / 0.5741 GB, free: 18.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.3189, allocations: 259.7 kB / 0.5744 GB, free: 18.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.319, allocations: 78.97 kB / 0.5745 GB, free: 18.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.3212, allocations: 1.077 MB / 0.5755 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3212, allocations: 3.938 kB / 0.5755 GB, free: 17.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.3213, allocations: 33.58 kB / 0.5755 GB, free: 17.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.3214, allocations: 19.41 kB / 0.5756 GB, free: 17.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.3237, allocations: 1.116 MB / 0.5766 GB, free: 16.83 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.007628/0.3314, allocations: 3.471 MB / 0.58 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.3332, allocations: 1.427 MB / 0.5814 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3347, allocations: 0.7813 MB / 0.5822 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.3348, allocations: 13 kB / 0.5822 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3348, allocations: 39.56 kB / 0.5822 GB, free: 10.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 3.256e-06/0.3348, allocations: 0 / 0.5822 GB, free: 10.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.02488/0.3597, allocations: 6.613 MB / 0.5887 GB, free: 4.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3598, allocations: 64.39 kB / 0.5888 GB, free: 4.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.3608, allocations: 0.9001 MB / 0.5896 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.3609, allocations: 41.7 kB / 0.5897 GB, free: 3.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.3612, allocations: 0.4968 MB / 0.5902 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.3614, allocations: 347 kB / 0.5905 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.3618, allocations: 194.8 kB / 0.5907 GB, free: 2.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.3618, allocations: 357.9 kB / 0.591 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.3633, allocations: 0.7209 MB / 0.5917 GB, free: 1.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3649, allocations: 0.8462 MB / 0.5926 GB, free: 132 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/0.3838, allocations: 4.845 MB / 0.5973 GB, free: 11.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3838, allocations: 0 / 0.5973 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01383/0.3977, allocations: 4.269 MB / 0.6015 GB, free: 6.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3977, allocations: 11.88 kB / 0.6015 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3977, allocations: 4 kB / 0.6015 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006507/0.4043, allocations: 1.807 MB / 0.6032 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4054, allocations: 215.7 kB / 0.6034 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.4278, allocations: 9.328 MB / 0.6126 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4295, allocations: 167 kB / 0.6127 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.4297, allocations: 43.98 kB / 0.6128 GB, free: 11.25 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.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005842/0.4303, allocations: 253.2 kB / 0.613 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.4306, allocations: 118.5 kB / 0.6131 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.4445, allocations: 4.022 MB / 0.617 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4446, allocations: 8 kB / 0.617 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4446, allocations: 4 kB / 0.617 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.4446, allocations: 3.984 kB / 0.6171 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.4608, allocations: 5.622 MB / 0.6225 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.4609, allocations: 4 kB / 0.6225 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.4617, allocations: 131.8 kB / 0.6227 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006385/0.4681, allocations: 1.749 MB / 0.6244 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.4683, allocations: 19.94 kB / 0.6244 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.4878, allocations: 8.072 MB / 0.6323 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4878, allocations: 4 kB / 0.6323 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.5038, allocations: 4.966 MB / 0.6371 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.5042, allocations: 211.3 kB / 0.6373 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.5046, allocations: 16 kB / 0.6373 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.5059, allocations: 111.8 kB / 0.6375 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007016/0.5066, allocations: 216.7 kB / 0.6377 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.98e-05/0.5067, allocations: 24 kB / 0.6377 GB, free: 1.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008873/0.5076, allocations: 0.6008 MB / 0.6383 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5076, allocations: 0 / 0.6383 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00137/0.509, allocations: 439.5 kB / 0.6387 GB, free: 316 kB / 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 (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.01607/0.525, allocations: 5.542 MB / 0.6441 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007668/0.5328, allocations: 2.538 MB / 0.6466 GB, free: 8.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5328, allocations: 0 / 0.6466 GB, free: 8.184 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00507/0.5379, allocations: 1.607 MB / 0.6482 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.5389, allocations: 87.23 kB / 0.6482 GB, free: 6.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/0.5793, allocations: 15.94 MB / 0.6638 GB, free: 6.141 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.58, allocations: 1.099 MB / 0.6649 GB, free: 5.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004702/0.5805, allocations: 86.77 kB / 0.665 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/0.5812, allocations: 447.3 kB / 0.6654 GB, free: 4.488 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5812, allocations: 0 / 0.6654 GB, free: 4.488 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/0.6451, allocations: 33.36 MB / 0.698 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.35, allocations: 11.05 kB / 0.698 GB, free: 3.199 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/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)