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.0007217/0.0007218, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.185/1.185, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.0009264/0.0009261, allocations: 179.5 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4064/0.4064, allocations: 78.56 MB / 420.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 12 kB / 0.4888 GB, free: 5.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 69.36 MB / 0.5565 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.1927/0.2996, allocations: 6.299 MB / 0.5626 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3022, allocations: 1.89 MB / 0.5645 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.3027, allocations: 12.41 kB / 0.5645 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.303, allocations: 173.6 kB / 0.5647 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3043, allocations: 0.624 MB / 0.5653 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.3052, allocations: 0.5638 MB / 0.5658 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009163/0.3061, allocations: 1.35 MB / 0.5671 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.3065, allocations: 285.8 kB / 0.5674 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.3069, allocations: 0.519 MB / 0.5679 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.3074, allocations: 0.6575 MB / 0.5686 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.3075, allocations: 55.28 kB / 0.5686 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.3079, allocations: 189.8 kB / 0.5688 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.308, allocations: 224 kB / 0.569 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.3084, allocations: 0.5891 MB / 0.5696 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.3093, allocations: 1.429 MB / 0.571 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3093, allocations: 0.6562 kB / 0.571 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3094, allocations: 2.938 kB / 0.571 GB, free: 33.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3094, allocations: 0 / 0.571 GB, free: 33.5 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.006948/0.3163, allocations: 2.399 MB / 0.5733 GB, free: 32.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3164, allocations: 11.03 kB / 0.5733 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.3166, allocations: 125.1 kB / 0.5735 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.321, allocations: 0.791 MB / 0.5742 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.3219, allocations: 0.7669 MB / 0.575 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.3221, allocations: 268.2 kB / 0.5752 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3223, allocations: 78.69 kB / 0.5753 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.3243, allocations: 1.175 MB / 0.5765 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3243, allocations: 0.5156 kB / 0.5765 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/0.3244, allocations: 29.47 kB / 0.5765 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.3244, allocations: 18.38 kB / 0.5765 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.3266, allocations: 1.24 MB / 0.5777 GB, free: 31.79 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.004767/0.3314, allocations: 3.529 MB / 0.5812 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3332, allocations: 1.514 MB / 0.5826 GB, free: 29.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3347, allocations: 0.8742 MB / 0.5835 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.3348, allocations: 16.73 kB / 0.5835 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3348, allocations: 49.56 kB / 0.5836 GB, free: 29.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.374e-06/0.3348, allocations: 0 / 0.5836 GB, free: 29.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02589/0.3607, allocations: 8.205 MB / 0.5916 GB, free: 27.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3608, allocations: 61.97 kB / 0.5916 GB, free: 27.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3619, allocations: 0.9014 MB / 0.5925 GB, free: 27.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.3621, allocations: 45.27 kB / 0.5926 GB, free: 27.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.3624, allocations: 0.4893 MB / 0.593 GB, free: 27.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.3627, allocations: 350.4 kB / 0.5934 GB, free: 26.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3629, allocations: 103.8 kB / 0.5935 GB, free: 26.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.3629, allocations: 355.1 kB / 0.5938 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.3647, allocations: 0.8085 MB / 0.5946 GB, free: 26.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.3664, allocations: 0.9475 MB / 0.5955 GB, free: 25.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/0.3847, allocations: 5.388 MB / 0.6008 GB, free: 24.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3847, allocations: 0 / 0.6008 GB, free: 24.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01456/0.3993, allocations: 5.213 MB / 0.6059 GB, free: 23.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3993, allocations: 10.94 kB / 0.6059 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3993, allocations: 1.812 kB / 0.6059 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006579/0.4059, allocations: 2.122 MB / 0.608 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.407, allocations: 223.3 kB / 0.6082 GB, free: 22.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.4258, allocations: 9.571 MB / 0.6175 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4274, allocations: 227 kB / 0.6177 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.4275, allocations: 39.98 kB / 0.6178 GB, free: 14.69 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.0004385/0.4279, allocations: 245.9 kB / 0.618 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.4281, allocations: 118.5 kB / 0.6181 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.4406, allocations: 4.956 MB / 0.623 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.4406, allocations: 12 kB / 0.623 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4406, allocations: 3.938 kB / 0.623 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4406, allocations: 3.984 kB / 0.623 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.4545, allocations: 6.556 MB / 0.6294 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4545, allocations: 0.9375 kB / 0.6294 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.4552, allocations: 151.8 kB / 0.6295 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005527/0.4607, allocations: 2.056 MB / 0.6315 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/0.4608, allocations: 20 kB / 0.6316 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/0.4784, allocations: 8.232 MB / 0.6396 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4784, allocations: 0 / 0.6396 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/0.4945, allocations: 6.001 MB / 0.6455 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.4949, allocations: 204.3 kB / 0.6456 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.495, allocations: 20.94 kB / 0.6457 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4961, allocations: 159.9 kB / 0.6458 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006365/0.4968, allocations: 212.5 kB / 0.646 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.4968, allocations: 27.98 kB / 0.646 GB, free: 1.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.4975, allocations: 0.6008 MB / 0.6466 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4975, allocations: 0 / 0.6466 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4986, allocations: 439.4 kB / 0.6471 GB, free: 348 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.01671/0.5153, allocations: 6.577 MB / 0.6535 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006984/0.5223, allocations: 2.786 MB / 0.6562 GB, free: 6.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5224, allocations: 0 / 0.6562 GB, free: 6.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004831/0.5272, allocations: 1.812 MB / 0.658 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.528, allocations: 94.38 kB / 0.6581 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/0.5672, allocations: 18.36 MB / 0.676 GB, free: 2.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.5678, allocations: 1.099 MB / 0.6771 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.5681, allocations: 94.23 kB / 0.6771 GB, free: 1.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.5687, allocations: 435.3 kB / 0.6776 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5687, allocations: 4 kB / 0.6776 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/0.6135, allocations: 30.11 MB / 0.707 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.6137, allocations: 228 kB / 0.7072 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.829, allocations: 0 / 0.7072 GB, free: 2.688 MB / 0.4981 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)