Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005537/0.005537, allocations: 103.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 200.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4372/0.4372, allocations: 78.52 MB / 418.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 83.81 kB / 0.5532 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.287, allocations: 68.17 MB / 0.6197 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004934/0.292, allocations: 6.431 MB / 0.626 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.2948, allocations: 1.861 MB / 0.6278 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.2954, allocations: 12 kB / 0.6278 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.2959, allocations: 222 kB / 0.6281 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.2974, allocations: 0.7695 MB / 0.6288 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2985, allocations: 0.6119 MB / 0.6294 GB, free: 220 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.2999, allocations: 1.421 MB / 0.6308 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.3004, allocations: 330.5 kB / 0.6311 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.3011, allocations: 0.5912 MB / 0.6317 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/0.3018, allocations: 0.7271 MB / 0.6324 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.302, allocations: 108 kB / 0.6325 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3024, allocations: 235.9 kB / 0.6327 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.3027, allocations: 282.7 kB / 0.633 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.3033, allocations: 0.629 MB / 0.6336 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.3051, allocations: 1.522 MB / 0.6351 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3051, allocations: 3.984 kB / 0.6351 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3051, allocations: 0 / 0.6351 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.3051, allocations: 4 kB / 0.6351 GB, free: 10.35 MB / 446.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.007897/0.313, allocations: 2.556 MB / 0.6376 GB, free: 7.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3131, allocations: 12.03 kB / 0.6376 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.3132, allocations: 126.8 kB / 0.6377 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.3182, allocations: 0.7788 MB / 0.6385 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3196, allocations: 0.7801 MB / 0.6392 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.3199, allocations: 260.2 kB / 0.6395 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.3201, allocations: 76 kB / 0.6396 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.3224, allocations: 1.077 MB / 0.6406 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3224, allocations: 7.984 kB / 0.6406 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.3225, allocations: 28 kB / 0.6407 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3226, allocations: 20 kB / 0.6407 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.3251, allocations: 1.117 MB / 0.6418 GB, free: 3.352 MB / 446.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.005909/0.331, allocations: 3.452 MB / 0.6451 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.3331, allocations: 1.419 MB / 0.6465 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.3347, allocations: 0.7852 MB / 0.6473 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.3348, allocations: 13 kB / 0.6473 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3349, allocations: 35.56 kB / 0.6473 GB, free: 13.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 4.188e-06/0.3349, allocations: 4 kB / 0.6473 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02467/0.3595, allocations: 6.609 MB / 0.6538 GB, free: 6.719 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3596, allocations: 60.41 kB / 0.6539 GB, free: 6.645 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3609, allocations: 0.904 MB / 0.6547 GB, free: 5.723 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.3611, allocations: 41.7 kB / 0.6548 GB, free: 5.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.3615, allocations: 0.4968 MB / 0.6553 GB, free: 5.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.3619, allocations: 343 kB / 0.6556 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.3624, allocations: 198.8 kB / 0.6558 GB, free: 4.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3626, allocations: 353.9 kB / 0.6561 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.3642, allocations: 0.7209 MB / 0.6568 GB, free: 3.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.3659, allocations: 0.8462 MB / 0.6576 GB, free: 2.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/0.3844, allocations: 4.826 MB / 0.6624 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3844, allocations: 3.938 kB / 0.6624 GB, free: 13.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01315/0.3976, allocations: 4.277 MB / 0.6665 GB, free: 9.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3977, allocations: 7.938 kB / 0.6665 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3977, allocations: 4 kB / 0.6665 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00607/0.4037, allocations: 1.807 MB / 0.6683 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4048, allocations: 211.7 kB / 0.6685 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.4258, allocations: 9.324 MB / 0.6776 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.4273, allocations: 179 kB / 0.6778 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.4275, allocations: 35.98 kB / 0.6778 GB, free: 13.8 MB / 494.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.0005072/0.428, allocations: 249.5 kB / 0.6781 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.4283, allocations: 118.5 kB / 0.6782 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.4408, allocations: 4.018 MB / 0.6821 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4409, allocations: 8 kB / 0.6821 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4409, allocations: 4 kB / 0.6821 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.4409, allocations: 3.984 kB / 0.6821 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.4556, allocations: 5.618 MB / 0.6876 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4556, allocations: 0 / 0.6876 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.4563, allocations: 131.9 kB / 0.6877 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005811/0.4622, allocations: 1.745 MB / 0.6894 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.4624, allocations: 23.92 kB / 0.6895 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.4806, allocations: 8.056 MB / 0.6973 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4806, allocations: 4 kB / 0.6973 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/0.4953, allocations: 4.972 MB / 0.7022 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.4957, allocations: 199.4 kB / 0.7024 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.4959, allocations: 19.94 kB / 0.7024 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.497, allocations: 115.8 kB / 0.7025 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/0.4977, allocations: 216.7 kB / 0.7027 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.4978, allocations: 24 kB / 0.7027 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007729/0.4986, allocations: 0.6047 MB / 0.7033 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4986, allocations: 0 / 0.7033 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001229/0.4999, allocations: 443.4 kB / 0.7037 GB, free: 2.902 MB / 0.4981 GB 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.01491/0.5148, allocations: 5.545 MB / 0.7092 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007118/0.5219, allocations: 2.5 MB / 0.7116 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.522, allocations: 0 / 0.7116 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004857/0.5268, allocations: 1.589 MB / 0.7131 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.5278, allocations: 88.42 kB / 0.7132 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/0.5648, allocations: 15.32 MB / 0.7282 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.5655, allocations: 1.099 MB / 0.7293 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004021/0.5659, allocations: 86.75 kB / 0.7293 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/0.5666, allocations: 451.3 kB / 0.7298 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.5666, allocations: 0 / 0.7298 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/0.6318, allocations: 33.75 MB / 0.7627 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/17.46, allocations: 16 kB / 0.7628 GB, free: 6.312 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)