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.005252/0.005252, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.295/1.295, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001373/0.001373, allocations: 184.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4959/0.4959, allocations: 92.61 MB / 432.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 86.5 kB / 0.5732 GB, free: 33.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09696, allocations: 71.43 MB / 0.643 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005928/0.1029, allocations: 5.262 MB / 0.6481 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1058, allocations: 1.638 MB / 0.6497 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.1061, allocations: 8 kB / 0.6497 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1066, allocations: 178.4 kB / 0.6499 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.108, allocations: 0.6327 MB / 0.6505 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1091, allocations: 0.4993 MB / 0.651 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.1103, allocations: 1.082 MB / 0.652 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.1107, allocations: 258.8 kB / 0.6523 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.1112, allocations: 474 kB / 0.6527 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.1119, allocations: 0.595 MB / 0.6533 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1121, allocations: 80 kB / 0.6534 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.1125, allocations: 215.9 kB / 0.6536 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1127, allocations: 235 kB / 0.6538 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.1132, allocations: 0.4931 MB / 0.6543 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1145, allocations: 1.237 MB / 0.6555 GB, free: 6.176 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1145, allocations: 0 / 0.6555 GB, free: 6.176 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1145, allocations: 0 / 0.6555 GB, free: 6.176 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1146, allocations: 0 / 0.6555 GB, free: 6.176 MB / 462.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.006435/0.121, allocations: 2.165 MB / 0.6576 GB, free: 3.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.121, allocations: 12.03 kB / 0.6576 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.1212, allocations: 110.7 kB / 0.6578 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/0.1251, allocations: 0.6474 MB / 0.6584 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009501/0.1261, allocations: 0.6629 MB / 0.659 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.1263, allocations: 176 kB / 0.6592 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.1264, allocations: 63.98 kB / 0.6593 GB, free: 2.215 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.1282, allocations: 0.8536 MB / 0.6601 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1282, allocations: 0 / 0.6601 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/0.1283, allocations: 24 kB / 0.6601 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1283, allocations: 23.94 kB / 0.6601 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.1302, allocations: 0.8835 MB / 0.661 GB, free: 436 kB / 462.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.004095/0.1344, allocations: 2.413 MB / 0.6634 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.136, allocations: 1.031 MB / 0.6644 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.1373, allocations: 0.6356 MB / 0.665 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.321e-05/0.1374, allocations: 8.656 kB / 0.665 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1375, allocations: 43.22 kB / 0.665 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.254e-06/0.1375, allocations: 0 / 0.665 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.02156/0.159, allocations: 5.546 MB / 0.6705 GB, free: 6.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1591, allocations: 60.06 kB / 0.6705 GB, free: 6.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009922/0.1601, allocations: 0.7552 MB / 0.6712 GB, free: 5.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.1603, allocations: 41.7 kB / 0.6713 GB, free: 5.625 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.1606, allocations: 405 kB / 0.6717 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.1609, allocations: 285.5 kB / 0.6719 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.1612, allocations: 182.6 kB / 0.6721 GB, free: 4.754 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1614, allocations: 345.9 kB / 0.6724 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.1627, allocations: 0.5954 MB / 0.673 GB, free: 3.816 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.1642, allocations: 0.7046 MB / 0.6737 GB, free: 3.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.167, allocations: 1.311 MB / 0.675 GB, free: 1.746 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.167, allocations: 7.938 kB / 0.675 GB, free: 1.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0112/0.1782, allocations: 3.494 MB / 0.6784 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1782, allocations: 7.984 kB / 0.6784 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1783, allocations: 4 kB / 0.6784 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/0.1834, allocations: 1.446 MB / 0.6798 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/0.1842, allocations: 175.7 kB / 0.68 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2603/0.4445, allocations: 7.813 MB / 0.6876 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.4459, allocations: 139.5 kB / 0.6878 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.446, allocations: 35.98 kB / 0.6878 GB, free: 4.469 MB / 494.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.0004186/0.4465, allocations: 224.5 kB / 0.688 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.4466, allocations: 99.39 kB / 0.6881 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.4573, allocations: 3.223 MB / 0.6913 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4573, allocations: 8 kB / 0.6913 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4573, allocations: 0 / 0.6913 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.4574, allocations: 7.984 kB / 0.6913 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.4697, allocations: 4.542 MB / 0.6957 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4697, allocations: 0 / 0.6957 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.4703, allocations: 103.9 kB / 0.6958 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.475, allocations: 1.403 MB / 0.6972 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.475, allocations: 12 kB / 0.6972 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.4906, allocations: 6.738 MB / 0.7038 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4906, allocations: 0 / 0.7038 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.5031, allocations: 4.058 MB / 0.7077 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.5034, allocations: 184.3 kB / 0.7079 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5035, allocations: 20 kB / 0.7079 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.5044, allocations: 79.91 kB / 0.708 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/0.5049, allocations: 160.4 kB / 0.7082 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.5049, allocations: 20 kB / 0.7082 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000636/0.5056, allocations: 0.5224 MB / 0.7087 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.657e-06/0.5056, allocations: 0 / 0.7087 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009476/0.5065, allocations: 359.7 kB / 0.709 GB, free: 14.41 MB / 0.5137 GB 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.01275/0.5193, allocations: 4.624 MB / 0.7136 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00568/0.525, allocations: 2.058 MB / 0.7156 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.525, allocations: 0 / 0.7156 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003933/0.529, allocations: 1.299 MB / 0.7168 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.5297, allocations: 75.3 kB / 0.7169 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03129/0.561, allocations: 12.71 MB / 0.7293 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.5617, allocations: 1.009 MB / 0.7303 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003607/0.5621, allocations: 105.3 kB / 0.7304 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.5626, allocations: 343.3 kB / 0.7307 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.5626, allocations: 0 / 0.7307 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.014/4.577, allocations: 27.47 MB / 0.7576 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/21.33, allocations: 5.969 kB / 0.7576 GB, free: 12.57 MB / 0.5606 GB (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)