Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.001261/0.001261, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.339/1.339, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.00129/0.00129, allocations: 185 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4221/0.4221, allocations: 79.45 MB / 420.7 MB, free: 4.023 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12 kB / 0.4891 GB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2759, allocations: 69.5 MB / 0.557 GB, free: 37.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.003306/0.2793, allocations: 4.585 MB / 0.5614 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2812, allocations: 1.603 MB / 0.563 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.2815, allocations: 13.69 kB / 0.563 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.2817, allocations: 126.1 kB / 0.5631 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009914/0.2827, allocations: 0.5632 MB / 0.5637 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.2834, allocations: 431.6 kB / 0.5641 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.2841, allocations: 0.7028 MB / 0.5648 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.2843, allocations: 213.1 kB / 0.565 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.2846, allocations: 399.5 kB / 0.5654 GB, free: 37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.2851, allocations: 0.5095 MB / 0.5659 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.2852, allocations: 42.78 kB / 0.5659 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2854, allocations: 150.4 kB / 0.5661 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2855, allocations: 182.6 kB / 0.5662 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2857, allocations: 183 kB / 0.5664 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.2862, allocations: 0.8493 MB / 0.5672 GB, free: 36.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.2862, allocations: 0 / 0.5672 GB, free: 36.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2862, allocations: 0 / 0.5672 GB, free: 36.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2863, allocations: 0 / 0.5672 GB, free: 36.68 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.005407/0.2917, allocations: 2.012 MB / 0.5692 GB, free: 35.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2917, allocations: 14.78 kB / 0.5692 GB, free: 35.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.2918, allocations: 107.2 kB / 0.5693 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.2956, allocations: 0.6495 MB / 0.5699 GB, free: 35.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.2963, allocations: 0.6046 MB / 0.5705 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.2964, allocations: 182.7 kB / 0.5707 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.2966, allocations: 61.44 kB / 0.5708 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2981, allocations: 0.9216 MB / 0.5717 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2981, allocations: 0.5156 kB / 0.5717 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.2981, allocations: 27.75 kB / 0.5717 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2982, allocations: 14.31 kB / 0.5717 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.2999, allocations: 0.9674 MB / 0.5727 GB, free: 35.24 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.003238/0.3031, allocations: 2.479 MB / 0.5751 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3044, allocations: 1.094 MB / 0.5761 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.3045, allocations: 17.39 kB / 0.5762 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3046, allocations: 44.36 kB / 0.5762 GB, free: 33.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 1.914e-06/0.3046, allocations: 0 / 0.5762 GB, free: 33.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02071/0.3253, allocations: 6.776 MB / 0.5828 GB, free: 32.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3253, allocations: 64.09 kB / 0.5829 GB, free: 31.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.3261, allocations: 0.7554 MB / 0.5836 GB, free: 31.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.3262, allocations: 40.36 kB / 0.5837 GB, free: 31.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3264, allocations: 395.8 kB / 0.584 GB, free: 31.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.3265, allocations: 274 kB / 0.5843 GB, free: 31.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.3266, allocations: 16.31 kB / 0.5843 GB, free: 31.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.3267, allocations: 349 kB / 0.5846 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.3279, allocations: 0.6658 MB / 0.5853 GB, free: 30.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3291, allocations: 0.7649 MB / 0.586 GB, free: 30.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.3304, allocations: 0.7107 MB / 0.5867 GB, free: 29.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3304, allocations: 0.9375 kB / 0.5867 GB, free: 29.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01083/0.3413, allocations: 4.232 MB / 0.5909 GB, free: 28.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3413, allocations: 10 kB / 0.5909 GB, free: 28.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3413, allocations: 3.469 kB / 0.5909 GB, free: 28.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004962/0.3463, allocations: 1.695 MB / 0.5925 GB, free: 28.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.347, allocations: 178 kB / 0.5927 GB, free: 28.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.3636, allocations: 8.346 MB / 0.6009 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.3647, allocations: 177.4 kB / 0.601 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.3648, allocations: 34.55 kB / 0.6011 GB, free: 24.86 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003462/0.3651, allocations: 214.3 kB / 0.6013 GB, free: 24.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3653, allocations: 96.22 kB / 0.6014 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.376, allocations: 3.961 MB / 0.6052 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3761, allocations: 8.328 kB / 0.6052 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.3761, allocations: 0.6562 kB / 0.6052 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3761, allocations: 4.719 kB / 0.6052 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.3878, allocations: 5.279 MB / 0.6104 GB, free: 21.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3878, allocations: 0.9375 kB / 0.6104 GB, free: 21.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.3883, allocations: 106.8 kB / 0.6105 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/0.3927, allocations: 1.659 MB / 0.6121 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.3928, allocations: 17.22 kB / 0.6121 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.4051, allocations: 7.183 MB / 0.6191 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4051, allocations: 4 kB / 0.6192 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.4158, allocations: 4.842 MB / 0.6239 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.416, allocations: 180.7 kB / 0.6241 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4161, allocations: 16 kB / 0.6241 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.4169, allocations: 115.9 kB / 0.6242 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.4172, allocations: 168.2 kB / 0.6243 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.4173, allocations: 20 kB / 0.6244 GB, free: 7.441 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004364/0.4177, allocations: 0.5029 MB / 0.6248 GB, free: 6.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4177, allocations: 0 / 0.6248 GB, free: 6.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008386/0.4186, allocations: 367.5 kB / 0.6252 GB, free: 6.582 MB / 430.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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/0.4296, allocations: 5.415 MB / 0.6305 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004872/0.4345, allocations: 2.277 MB / 0.6327 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4345, allocations: 1.594 kB / 0.6327 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003619/0.4381, allocations: 1.439 MB / 0.6341 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.4385, allocations: 68.86 kB / 0.6342 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.4421, allocations: 3.463 MB / 0.6376 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.4426, allocations: 1.028 MB / 0.6386 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.4429, allocations: 92.98 kB / 0.6387 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.4433, allocations: 335.3 kB / 0.639 GB, free: 8.344 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4433, allocations: 4 kB / 0.639 GB, free: 8.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07529/0.5186, allocations: 23.93 MB / 0.6624 GB, free: 0.793 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.5189, allocations: 193.7 kB / 0.6625 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.863, allocations: 0 / 0.6625 GB, free: 0.5508 MB / 462.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1) Environment - environmentSimulation: