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.007746/0.007746, allocations: 101.9 kB / 15.73 MB, free: 6 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.312/1.312, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001289/0.001289, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4381/0.4381, allocations: 78.53 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 79.81 kB / 0.5532 GB, free: 1.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3037, allocations: 68.16 MB / 0.6197 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005305/0.309, allocations: 6.434 MB / 0.626 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.3127, allocations: 1.864 MB / 0.6278 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.3137, allocations: 16 kB / 0.6278 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.3144, allocations: 226 kB / 0.6281 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.3166, allocations: 0.7146 MB / 0.6288 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3178, allocations: 0.6087 MB / 0.6294 GB, free: 280 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3196, allocations: 1.421 MB / 0.6307 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.3201, allocations: 334.5 kB / 0.6311 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008474/0.321, allocations: 0.5873 MB / 0.6316 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008903/0.3219, allocations: 0.7271 MB / 0.6323 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.3221, allocations: 108 kB / 0.6324 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.3227, allocations: 239.9 kB / 0.6327 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.323, allocations: 282.7 kB / 0.6329 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.3235, allocations: 0.6174 MB / 0.6335 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.325, allocations: 1.53 MB / 0.635 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.325, allocations: 4 kB / 0.635 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.325, allocations: 0 / 0.635 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.3251, allocations: 0 / 0.635 GB, free: 10.41 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.007729/0.3328, allocations: 2.561 MB / 0.6375 GB, free: 7.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3328, allocations: 8.031 kB / 0.6376 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.333, allocations: 134.8 kB / 0.6377 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3379, allocations: 0.7749 MB / 0.6384 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.3393, allocations: 0.784 MB / 0.6392 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.3396, allocations: 256.2 kB / 0.6394 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.3398, allocations: 80 kB / 0.6395 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.3422, allocations: 1.089 MB / 0.6406 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.3422, allocations: 0 / 0.6406 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.3423, allocations: 28 kB / 0.6406 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3424, allocations: 24 kB / 0.6406 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.3449, allocations: 1.12 MB / 0.6417 GB, free: 3.395 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.005701/0.3506, allocations: 3.44 MB / 0.6451 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.3528, allocations: 1.419 MB / 0.6465 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.3544, allocations: 0.7813 MB / 0.6472 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.3545, allocations: 17 kB / 0.6473 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3546, allocations: 43.55 kB / 0.6473 GB, free: 13.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/0.3546, allocations: 0 / 0.6473 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02616/0.3808, allocations: 6.606 MB / 0.6537 GB, free: 6.773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3808, allocations: 60.41 kB / 0.6538 GB, free: 6.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.382, allocations: 0.9002 MB / 0.6547 GB, free: 5.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.3822, allocations: 41.7 kB / 0.6547 GB, free: 5.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.3826, allocations: 0.4968 MB / 0.6552 GB, free: 5.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.383, allocations: 339 kB / 0.6555 GB, free: 4.895 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.3834, allocations: 202.8 kB / 0.6557 GB, free: 4.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3835, allocations: 353.9 kB / 0.6561 GB, free: 4.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.3852, allocations: 0.7247 MB / 0.6568 GB, free: 3.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.387, allocations: 0.854 MB / 0.6576 GB, free: 2.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/0.4061, allocations: 4.818 MB / 0.6623 GB, free: 13.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.4061, allocations: 4 kB / 0.6623 GB, free: 13.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01396/0.4201, allocations: 4.273 MB / 0.6665 GB, free: 9.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4201, allocations: 7.938 kB / 0.6665 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4201, allocations: 4 kB / 0.6665 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006364/0.4265, allocations: 1.811 MB / 0.6683 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4276, allocations: 211.8 kB / 0.6685 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.4503, allocations: 9.32 MB / 0.6776 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4518, allocations: 175 kB / 0.6777 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.452, allocations: 39.98 kB / 0.6778 GB, free: 13.86 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.0005339/0.4525, allocations: 245.5 kB / 0.678 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.4528, allocations: 122.5 kB / 0.6781 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.4664, allocations: 4.01 MB / 0.682 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.4664, allocations: 12 kB / 0.6821 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4664, allocations: 4 kB / 0.6821 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.4664, allocations: 7.969 kB / 0.6821 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.4817, allocations: 5.618 MB / 0.6876 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4817, allocations: 0 / 0.6876 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.4825, allocations: 123.9 kB / 0.6877 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006017/0.4885, allocations: 1.749 MB / 0.6894 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.4887, allocations: 23.94 kB / 0.6894 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/0.5081, allocations: 8.052 MB / 0.6973 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5081, allocations: 0 / 0.6973 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.524, allocations: 4.976 MB / 0.7021 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.5244, allocations: 203.5 kB / 0.7023 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/0.5247, allocations: 16 kB / 0.7023 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.5258, allocations: 111.8 kB / 0.7024 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007584/0.5266, allocations: 220.7 kB / 0.7026 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/0.5267, allocations: 20 kB / 0.7027 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008385/0.5276, allocations: 0.6047 MB / 0.7033 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5276, allocations: 0 / 0.7033 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001533/0.5291, allocations: 447.4 kB / 0.7037 GB, free: 2.965 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.01635/0.5455, allocations: 5.552 MB / 0.7091 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00745/0.553, allocations: 2.508 MB / 0.7116 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.553, allocations: 0 / 0.7116 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005329/0.5584, allocations: 1.577 MB / 0.7131 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5598, allocations: 93.83 kB / 0.7132 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03971/0.5995, allocations: 15.32 MB / 0.7281 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.6002, allocations: 1.103 MB / 0.7292 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003852/0.6006, allocations: 78.78 kB / 0.7293 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/0.6012, allocations: 447.3 kB / 0.7297 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.6012, allocations: 4 kB / 0.7297 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06676/0.668, allocations: 35.15 MB / 0.7641 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.1, allocations: 5.547 kB / 0.7641 GB, free: 4.973 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)