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.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001409/0.001409, allocations: 192.5 kB / 289.6 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5171/0.5171, allocations: 91.91 MB / 431.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 79.88 kB / 0.502 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4082, allocations: 71.26 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004972/0.4133, allocations: 5.283 MB / 0.5767 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.4161, allocations: 1.631 MB / 0.5783 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/0.4167, allocations: 9.5 kB / 0.5783 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.4172, allocations: 190.4 kB / 0.5785 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.4186, allocations: 0.6326 MB / 0.5791 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.4196, allocations: 0.4967 MB / 0.5796 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.4205, allocations: 1.075 MB / 0.5807 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.4208, allocations: 264.9 kB / 0.5809 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.4213, allocations: 471.2 kB / 0.5814 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.4219, allocations: 0.5925 MB / 0.5819 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.422, allocations: 81 kB / 0.582 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.4224, allocations: 213.2 kB / 0.5822 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.4226, allocations: 232.5 kB / 0.5824 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.4229, allocations: 0.4937 MB / 0.5829 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008989/0.4238, allocations: 1.211 MB / 0.5841 GB, free: 29.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4238, allocations: 4 kB / 0.5841 GB, free: 29.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.4239, allocations: 0 / 0.5841 GB, free: 29.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.4239, allocations: 2.375 kB / 0.5841 GB, free: 29.72 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.006225/0.4301, allocations: 2.13 MB / 0.5862 GB, free: 28.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.4302, allocations: 10.5 kB / 0.5862 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.4303, allocations: 103.9 kB / 0.5863 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.4342, allocations: 0.6446 MB / 0.5869 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.435, allocations: 0.6554 MB / 0.5876 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.4351, allocations: 176.3 kB / 0.5877 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.4353, allocations: 60.34 kB / 0.5878 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.437, allocations: 0.862 MB / 0.5886 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.437, allocations: 0 / 0.5886 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.4371, allocations: 19.09 kB / 0.5887 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.4371, allocations: 18.84 kB / 0.5887 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.4389, allocations: 0.8874 MB / 0.5895 GB, free: 27.25 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.004012/0.443, allocations: 2.421 MB / 0.5919 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.4445, allocations: 1.035 MB / 0.5929 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.4458, allocations: 0.6266 MB / 0.5935 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.189e-05/0.4459, allocations: 9.281 kB / 0.5935 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4459, allocations: 41.11 kB / 0.5936 GB, free: 25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/0.4459, allocations: 3.938 kB / 0.5936 GB, free: 24.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02312/0.4691, allocations: 5.543 MB / 0.599 GB, free: 23.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4692, allocations: 64 kB / 0.5991 GB, free: 23.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.4711, allocations: 0.7667 MB / 0.5998 GB, free: 23.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.4713, allocations: 37.56 kB / 0.5998 GB, free: 23.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.4718, allocations: 399 kB / 0.6002 GB, free: 23.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.4722, allocations: 270.5 kB / 0.6005 GB, free: 22.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/0.4727, allocations: 175.3 kB / 0.6007 GB, free: 22.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4728, allocations: 347.5 kB / 0.601 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.4744, allocations: 0.6026 MB / 0.6016 GB, free: 22.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4761, allocations: 0.7087 MB / 0.6023 GB, free: 22.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.479, allocations: 1.303 MB / 0.6035 GB, free: 21.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.479, allocations: 1.25 kB / 0.6035 GB, free: 21.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01205/0.4911, allocations: 3.49 MB / 0.6069 GB, free: 20.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.4912, allocations: 6.094 kB / 0.607 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4912, allocations: 2.688 kB / 0.607 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/0.4967, allocations: 1.452 MB / 0.6084 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4978, allocations: 180.3 kB / 0.6085 GB, free: 20.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.5157, allocations: 7.81 MB / 0.6162 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5173, allocations: 144.3 kB / 0.6163 GB, free: 16.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/0.5174, allocations: 31.39 kB / 0.6163 GB, free: 16 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 (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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004573/0.5178, allocations: 226.9 kB / 0.6166 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.518, allocations: 95.94 kB / 0.6166 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009686/0.5277, allocations: 3.221 MB / 0.6198 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.5277, allocations: 8 kB / 0.6198 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5277, allocations: 3.938 kB / 0.6198 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.5278, allocations: 3.984 kB / 0.6198 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.5388, allocations: 4.539 MB / 0.6242 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.5388, allocations: 11.94 kB / 0.6243 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.5394, allocations: 95.81 kB / 0.6243 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004359/0.5437, allocations: 1.411 MB / 0.6257 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.5438, allocations: 8 kB / 0.6257 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.5572, allocations: 6.741 MB / 0.6323 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5573, allocations: 3.984 kB / 0.6323 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.5701, allocations: 4.052 MB / 0.6363 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/0.5707, allocations: 187.8 kB / 0.6365 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.5708, allocations: 12 kB / 0.6365 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.5717, allocations: 79.91 kB / 0.6365 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/0.5722, allocations: 160.4 kB / 0.6367 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.5723, allocations: 20 kB / 0.6367 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006654/0.573, allocations: 0.5185 MB / 0.6372 GB, free: 10.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.573, allocations: 0 / 0.6372 GB, free: 10.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001315/0.5743, allocations: 355.6 kB / 0.6376 GB, free: 10.26 MB / 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 (49): * Single equations (assignments): 48 * 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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01257/0.5869, allocations: 4.625 MB / 0.6421 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006412/0.5933, allocations: 2.097 MB / 0.6441 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5933, allocations: 0 / 0.6441 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004053/0.5974, allocations: 1.288 MB / 0.6454 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5985, allocations: 77.33 kB / 0.6455 GB, free: 2.109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/0.6333, allocations: 13.07 MB / 0.6582 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/0.6342, allocations: 1.013 MB / 0.6592 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005032/0.6347, allocations: 89.45 kB / 0.6593 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.6353, allocations: 343.3 kB / 0.6596 GB, free: 3.281 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6353, allocations: 0 / 0.6596 GB, free: 3.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06751/0.7028, allocations: 27.12 MB / 0.6861 GB, free: 8.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.9, allocations: 14.11 kB / 0.6861 GB, free: 8.27 MB / 494.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/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)