Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001173/0.001173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.382/1.382, allocations: 222.9 MB / 239 MB, free: 4.703 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.001247/0.001247, allocations: 192.4 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5118/0.5118, allocations: 91.89 MB / 431.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 71.88 kB / 0.5015 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4174, allocations: 71.26 MB / 0.5711 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005944/0.4234, allocations: 6.053 MB / 0.577 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.4271, allocations: 1.761 MB / 0.5787 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.4282, allocations: 10.94 kB / 0.5787 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.429, allocations: 160.1 kB / 0.5789 GB, free: 32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.4308, allocations: 0.6127 MB / 0.5795 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4319, allocations: 0.5169 MB / 0.58 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.4332, allocations: 1.223 MB / 0.5812 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.4336, allocations: 274.6 kB / 0.5814 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.4342, allocations: 0.5146 MB / 0.5819 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.4347, allocations: 0.6358 MB / 0.5826 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.4349, allocations: 89.89 kB / 0.5826 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.4353, allocations: 218.5 kB / 0.5829 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.4355, allocations: 244.5 kB / 0.5831 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.4358, allocations: 0.5454 MB / 0.5836 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.4369, allocations: 1.318 MB / 0.5849 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4369, allocations: 0 / 0.5849 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4369, allocations: 0 / 0.5849 GB, free: 28.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.437, allocations: 0 / 0.5849 GB, free: 28.84 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007071/0.444, allocations: 2.334 MB / 0.5872 GB, free: 27.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4441, allocations: 9.625 kB / 0.5872 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.4442, allocations: 113.2 kB / 0.5873 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/0.449, allocations: 0.7631 MB / 0.588 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.4499, allocations: 0.6903 MB / 0.5887 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.4501, allocations: 255.5 kB / 0.589 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.4503, allocations: 63.12 kB / 0.589 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.4522, allocations: 0.9447 MB / 0.5899 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4522, allocations: 4 kB / 0.59 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.4523, allocations: 25.69 kB / 0.59 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4523, allocations: 15 kB / 0.59 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.4543, allocations: 0.9805 MB / 0.5909 GB, free: 26.12 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.004611/0.4589, allocations: 3.156 MB / 0.594 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.4607, allocations: 1.31 MB / 0.5953 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.462, allocations: 0.6941 MB / 0.596 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4622, allocations: 20.92 kB / 0.596 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4622, allocations: 41.88 kB / 0.596 GB, free: 23.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.285e-06/0.4622, allocations: 0 / 0.596 GB, free: 23.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02692/0.4891, allocations: 6.697 MB / 0.6026 GB, free: 21.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4892, allocations: 65.05 kB / 0.6027 GB, free: 21.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4902, allocations: 0.7831 MB / 0.6034 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.4903, allocations: 40.61 kB / 0.6035 GB, free: 21.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.4906, allocations: 429.4 kB / 0.6039 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.4908, allocations: 293 kB / 0.6041 GB, free: 20.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.4912, allocations: 173.7 kB / 0.6043 GB, free: 20.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.4912, allocations: 347.9 kB / 0.6046 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4926, allocations: 0.6407 MB / 0.6053 GB, free: 20.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.4939, allocations: 0.7595 MB / 0.606 GB, free: 19.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/0.5111, allocations: 4.464 MB / 0.6104 GB, free: 18.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5112, allocations: 0 / 0.6104 GB, free: 18.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0129/0.5241, allocations: 4.034 MB / 0.6143 GB, free: 17.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.5241, allocations: 14.7 kB / 0.6143 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5242, allocations: 2.312 kB / 0.6143 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/0.5304, allocations: 1.865 MB / 0.6161 GB, free: 16.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.5313, allocations: 167.8 kB / 0.6163 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.5497, allocations: 9.103 MB / 0.6252 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.5511, allocations: 155 kB / 0.6253 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.5512, allocations: 35.98 kB / 0.6254 GB, free: 6.559 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0003833/0.5516, allocations: 222.6 kB / 0.6256 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5517, allocations: 98.78 kB / 0.6257 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.5626, allocations: 3.821 MB / 0.6294 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.5627, allocations: 8 kB / 0.6294 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5627, allocations: 4 kB / 0.6294 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5627, allocations: 3.984 kB / 0.6294 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.5761, allocations: 5.328 MB / 0.6346 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5762, allocations: 0 / 0.6346 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.5767, allocations: 91.83 kB / 0.6347 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005992/0.5827, allocations: 1.745 MB / 0.6364 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.583, allocations: 16 kB / 0.6364 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.6028, allocations: 8.084 MB / 0.6443 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6029, allocations: 0 / 0.6443 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.6174, allocations: 4.692 MB / 0.6489 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.6179, allocations: 191.5 kB / 0.6491 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.6181, allocations: 16 kB / 0.6491 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.6192, allocations: 83.95 kB / 0.6492 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/0.6198, allocations: 200.7 kB / 0.6494 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.6199, allocations: 24 kB / 0.6494 GB, free: 13.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007247/0.6206, allocations: 0.5264 MB / 0.6499 GB, free: 13.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6206, allocations: 0 / 0.6499 GB, free: 13.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001311/0.6219, allocations: 395.6 kB / 0.6503 GB, free: 12.67 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01464/0.6366, allocations: 5.268 MB / 0.6554 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006943/0.6436, allocations: 2.326 MB / 0.6577 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6436, allocations: 0 / 0.6577 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004647/0.6483, allocations: 1.5 MB / 0.6592 GB, free: 3.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6494, allocations: 83.3 kB / 0.6593 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03755/0.687, allocations: 14.7 MB / 0.6736 GB, free: 4.414 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.6877, allocations: 1.029 MB / 0.6746 GB, free: 3.355 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.6881, allocations: 74.2 kB / 0.6747 GB, free: 3.281 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.6887, allocations: 375.3 kB / 0.6751 GB, free: 2.914 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6887, allocations: 0 / 0.6751 GB, free: 2.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06003/0.7488, allocations: 29.15 MB / 0.7035 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.749, allocations: 227.1 kB / 0.7037 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.469, allocations: 4.062 kB / 0.7037 GB, free: 5.664 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)