Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",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.001132/0.001132, allocations: 99.7 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.424/1.424, allocations: 223.2 MB / 238.9 MB, free: 5.41 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.001155/0.001155, allocations: 185 kB / 290.2 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4846/0.4846, allocations: 79.45 MB / 420.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003543, allocations: 8 kB / 0.4891 GB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4022, allocations: 69.51 MB / 0.557 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005229/0.4075, allocations: 5.669 MB / 0.5625 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.4113, allocations: 1.877 MB / 0.5643 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.4123, allocations: 19.47 kB / 0.5643 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.4128, allocations: 156.1 kB / 0.5645 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.4145, allocations: 0.6548 MB / 0.5651 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4157, allocations: 0.5237 MB / 0.5656 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.4172, allocations: 0.922 MB / 0.5665 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.4177, allocations: 268.4 kB / 0.5668 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006492/0.4183, allocations: 0.5033 MB / 0.5673 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.4189, allocations: 0.6294 MB / 0.5679 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.419, allocations: 52.72 kB / 0.568 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.4194, allocations: 169.5 kB / 0.5681 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.4196, allocations: 212.4 kB / 0.5683 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.4197, allocations: 227.4 kB / 0.5685 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009393/0.4207, allocations: 1.051 MB / 0.5696 GB, free: 35.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4207, allocations: 1.25 kB / 0.5696 GB, free: 35.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4207, allocations: 0 / 0.5696 GB, free: 35.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.4207, allocations: 0 / 0.5696 GB, free: 35.83 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00701/0.4278, allocations: 2.403 MB / 0.5719 GB, free: 34.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4278, allocations: 8.594 kB / 0.5719 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.428, allocations: 135.4 kB / 0.5721 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.4327, allocations: 0.7823 MB / 0.5728 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4338, allocations: 0.7356 MB / 0.5735 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.434, allocations: 266.4 kB / 0.5738 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.4342, allocations: 82.89 kB / 0.5739 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.4363, allocations: 1.159 MB / 0.575 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4363, allocations: 0 / 0.575 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.4364, allocations: 31.58 kB / 0.575 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.4364, allocations: 21.02 kB / 0.575 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.4387, allocations: 1.244 MB / 0.5763 GB, free: 33.11 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.005261/0.444, allocations: 3.662 MB / 0.5798 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.4458, allocations: 1.516 MB / 0.5813 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-05/0.4459, allocations: 14.61 kB / 0.5813 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.446, allocations: 48.03 kB / 0.5814 GB, free: 30.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.896e-06/0.446, allocations: 0 / 0.5814 GB, free: 30.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02777/0.4737, allocations: 8.486 MB / 0.5897 GB, free: 28.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4738, allocations: 63 kB / 0.5897 GB, free: 28.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.475, allocations: 0.8882 MB / 0.5906 GB, free: 28.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.4752, allocations: 40.8 kB / 0.5906 GB, free: 28.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.4755, allocations: 494.9 kB / 0.5911 GB, free: 27.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.4758, allocations: 351.9 kB / 0.5914 GB, free: 27.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.4759, allocations: 25.34 kB / 0.5915 GB, free: 27.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.476, allocations: 351.9 kB / 0.5918 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.4777, allocations: 0.8177 MB / 0.5926 GB, free: 26.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.4795, allocations: 0.9434 MB / 0.5935 GB, free: 26.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4813, allocations: 0.8681 MB / 0.5944 GB, free: 26.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.4813, allocations: 1.312 kB / 0.5944 GB, free: 26.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01559/0.4969, allocations: 5.241 MB / 0.5995 GB, free: 24.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.497, allocations: 8.312 kB / 0.5995 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.497, allocations: 3.625 kB / 0.5995 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/0.5041, allocations: 2.096 MB / 0.6015 GB, free: 24.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.5054, allocations: 237.3 kB / 0.6018 GB, free: 24.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.5288, allocations: 9.962 MB / 0.6115 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.5305, allocations: 228.4 kB / 0.6117 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5306, allocations: 40.17 kB / 0.6118 GB, free: 19.82 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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 (115): * Single equations (assignments): 114 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004977/0.5311, allocations: 238.8 kB / 0.612 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.5313, allocations: 119.9 kB / 0.6121 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.5447, allocations: 4.957 MB / 0.6169 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5447, allocations: 10.84 kB / 0.6169 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5447, allocations: 3.984 kB / 0.617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.5448, allocations: 3.984 kB / 0.617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5594, allocations: 6.572 MB / 0.6234 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.5594, allocations: 0 / 0.6234 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.5601, allocations: 147.8 kB / 0.6235 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005759/0.5659, allocations: 2.048 MB / 0.6255 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.5661, allocations: 19.98 kB / 0.6255 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/0.5839, allocations: 8.629 MB / 0.634 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.584, allocations: 5.016 kB / 0.634 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/0.6009, allocations: 5.994 MB / 0.6398 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.6014, allocations: 207.4 kB / 0.64 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.6016, allocations: 16 kB / 0.64 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6027, allocations: 159.9 kB / 0.6402 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007147/0.6035, allocations: 222.5 kB / 0.6404 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/0.6036, allocations: 20 kB / 0.6404 GB, free: 6.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008139/0.6044, allocations: 0.593 MB / 0.641 GB, free: 6.184 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6044, allocations: 0 / 0.641 GB, free: 6.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00149/0.6059, allocations: 447.4 kB / 0.6414 GB, free: 5.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01717/0.6231, allocations: 6.555 MB / 0.6478 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007752/0.6309, allocations: 2.782 MB / 0.6505 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6309, allocations: 4 kB / 0.6505 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/0.6362, allocations: 1.8 MB / 0.6523 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.637, allocations: 73.88 kB / 0.6524 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.6429, allocations: 4.287 MB / 0.6566 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.6437, allocations: 1.123 MB / 0.6577 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003841/0.6441, allocations: 89.86 kB / 0.6577 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.6447, allocations: 442.5 kB / 0.6582 GB, free: 4.469 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6447, allocations: 4 kB / 0.6582 GB, free: 4.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/0.7025, allocations: 29.2 MB / 0.6867 GB, free: 7.656 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.7028, allocations: 212.7 kB / 0.6869 GB, free: 7.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.267, allocations: 0 / 0.6869 GB, free: 7.414 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: