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.001568/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.364/1.364, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001493/0.001493, allocations: 192.5 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5298/0.5298, allocations: 91.9 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 75.83 kB / 0.5013 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3915, allocations: 71.26 MB / 0.5709 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005137/0.3967, allocations: 5.547 MB / 0.5763 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.3996, allocations: 1.676 MB / 0.578 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.4, allocations: 15.25 kB / 0.578 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.4004, allocations: 140.2 kB / 0.5781 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.4016, allocations: 0.573 MB / 0.5787 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.4025, allocations: 469.2 kB / 0.5791 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007549/0.4033, allocations: 1.032 MB / 0.5801 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.4036, allocations: 233.8 kB / 0.5803 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.404, allocations: 438.6 kB / 0.5808 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.4045, allocations: 0.5617 MB / 0.5813 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.759e-05/0.4046, allocations: 51.41 kB / 0.5814 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.4049, allocations: 189.9 kB / 0.5815 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.4051, allocations: 201 kB / 0.5817 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.4054, allocations: 478.1 kB / 0.5822 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008223/0.4063, allocations: 1.18 MB / 0.5833 GB, free: 29.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4063, allocations: 0 / 0.5833 GB, free: 29.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4063, allocations: 0 / 0.5833 GB, free: 29.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.4063, allocations: 0 / 0.5833 GB, free: 29.77 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.006404/0.4127, allocations: 2.129 MB / 0.5854 GB, free: 28.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4128, allocations: 8.938 kB / 0.5854 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.4129, allocations: 104.1 kB / 0.5855 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.417, allocations: 0.6449 MB / 0.5862 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.418, allocations: 0.6547 MB / 0.5868 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.4181, allocations: 177 kB / 0.587 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4183, allocations: 64.27 kB / 0.587 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.4203, allocations: 0.8568 MB / 0.5879 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4203, allocations: 0 / 0.5879 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.4204, allocations: 23.03 kB / 0.5879 GB, free: 27.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4204, allocations: 17.5 kB / 0.5879 GB, free: 27.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.4224, allocations: 0.8895 MB / 0.5888 GB, free: 27.3 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.004261/0.4267, allocations: 2.42 MB / 0.5911 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.4283, allocations: 1.027 MB / 0.5921 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.4295, allocations: 0.628 MB / 0.5928 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.4296, allocations: 14.75 kB / 0.5928 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4296, allocations: 38.84 kB / 0.5928 GB, free: 25.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.416e-06/0.4296, allocations: 0 / 0.5928 GB, free: 25.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.03434/0.464, allocations: 5.548 MB / 0.5982 GB, free: 24.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.4641, allocations: 59.44 kB / 0.5983 GB, free: 23.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.4662, allocations: 0.7597 MB / 0.599 GB, free: 23.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.4664, allocations: 39.8 kB / 0.5991 GB, free: 23.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.4669, allocations: 395.5 kB / 0.5994 GB, free: 23.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.4674, allocations: 278.2 kB / 0.5997 GB, free: 23.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008575/0.4683, allocations: 180.2 kB / 0.5999 GB, free: 22.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4684, allocations: 351.3 kB / 0.6002 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.4708, allocations: 0.6023 MB / 0.6008 GB, free: 22.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/0.4734, allocations: 0.7052 MB / 0.6015 GB, free: 22.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004712/0.4781, allocations: 1.307 MB / 0.6028 GB, free: 21.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4782, allocations: 0 / 0.6028 GB, free: 21.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01854/0.4967, allocations: 3.488 MB / 0.6062 GB, free: 20.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.4968, allocations: 13 kB / 0.6062 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4968, allocations: 2.969 kB / 0.6062 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008776/0.5056, allocations: 1.444 MB / 0.6076 GB, free: 20.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.5073, allocations: 178.8 kB / 0.6078 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02848/0.5358, allocations: 7.196 MB / 0.6148 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.5379, allocations: 148.8 kB / 0.6149 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/0.5384, allocations: 39.41 kB / 0.615 GB, free: 16.58 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.0009869/0.5394, allocations: 219.7 kB / 0.6152 GB, free: 16.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/0.54, allocations: 95.78 kB / 0.6153 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/0.5562, allocations: 3.225 MB / 0.6184 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.5562, allocations: 8 kB / 0.6184 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5562, allocations: 4 kB / 0.6184 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.5563, allocations: 3.984 kB / 0.6184 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.5751, allocations: 4.551 MB / 0.6229 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.5752, allocations: 0 / 0.6229 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.5762, allocations: 91.88 kB / 0.623 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007406/0.5836, allocations: 1.411 MB / 0.6243 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/0.5839, allocations: 12 kB / 0.6244 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/0.6054, allocations: 6.14 MB / 0.6304 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6055, allocations: 0 / 0.6304 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/0.6257, allocations: 4.037 MB / 0.6343 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.6263, allocations: 179.8 kB / 0.6345 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/0.6267, allocations: 16 kB / 0.6345 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.6283, allocations: 83.84 kB / 0.6346 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009119/0.6293, allocations: 164.4 kB / 0.6347 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.6295, allocations: 16 kB / 0.6347 GB, free: 12.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.6308, allocations: 0.5146 MB / 0.6352 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6308, allocations: 0 / 0.6352 GB, free: 12.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002144/0.633, allocations: 367.5 kB / 0.6356 GB, free: 11.8 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.02132/0.6543, allocations: 4.618 MB / 0.6401 GB, free: 7.145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009306/0.6637, allocations: 2.034 MB / 0.6421 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6637, allocations: 0 / 0.6421 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003921/0.6676, allocations: 1.259 MB / 0.6433 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.6685, allocations: 73.7 kB / 0.6434 GB, free: 3.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/0.7003, allocations: 13.37 MB / 0.6564 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.701, allocations: 1.005 MB / 0.6574 GB, free: 5.062 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004505/0.7014, allocations: 97.45 kB / 0.6575 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/0.7019, allocations: 343.2 kB / 0.6578 GB, free: 4.629 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7019, allocations: 0 / 0.6578 GB, free: 4.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.7436, allocations: 25.06 MB / 0.6823 GB, free: 11.71 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.7439, allocations: 205.3 kB / 0.6825 GB, free: 11.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.291, allocations: 0 / 0.6825 GB, free: 11.46 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)