Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.00109/0.00109, allocations: 98.53 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.314/1.314, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001102/0.001102, allocations: 189 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4524/0.4524, allocations: 79.45 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003897, allocations: 19.98 kB / 0.4891 GB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3423, allocations: 69.51 MB / 0.557 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004233/0.3465, allocations: 5.63 MB / 0.5625 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.3491, allocations: 1.848 MB / 0.5643 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.3496, allocations: 15.75 kB / 0.5643 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.3499, allocations: 156.6 kB / 0.5644 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.3513, allocations: 0.6483 MB / 0.5651 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009879/0.3523, allocations: 0.5168 MB / 0.5656 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009719/0.3533, allocations: 0.9192 MB / 0.5665 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.3536, allocations: 264.9 kB / 0.5667 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.3541, allocations: 0.5037 MB / 0.5672 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.3547, allocations: 0.6281 MB / 0.5678 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.3548, allocations: 58.47 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.3551, allocations: 158.4 kB / 0.568 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3552, allocations: 219.6 kB / 0.5682 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3554, allocations: 221.4 kB / 0.5684 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008261/0.3562, allocations: 1.059 MB / 0.5695 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3562, allocations: 0.5625 kB / 0.5695 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3562, allocations: 0.6875 kB / 0.5695 GB, free: 35.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.3563, allocations: 0 / 0.5695 GB, free: 35.9 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007572/0.3638, allocations: 2.404 MB / 0.5718 GB, free: 34.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3639, allocations: 10.06 kB / 0.5718 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/0.3642, allocations: 130.5 kB / 0.572 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.3691, allocations: 0.7896 MB / 0.5727 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3703, allocations: 0.725 MB / 0.5734 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.3706, allocations: 275.6 kB / 0.5737 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3707, allocations: 73.5 kB / 0.5738 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.3729, allocations: 1.166 MB / 0.5749 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.373, allocations: 0 / 0.5749 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.3731, allocations: 30.75 kB / 0.5749 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3731, allocations: 22.33 kB / 0.575 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3755, allocations: 1.24 MB / 0.5762 GB, free: 33.22 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.005222/0.3807, allocations: 3.623 MB / 0.5797 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.3826, allocations: 1.518 MB / 0.5812 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.384e-05/0.3827, allocations: 14.92 kB / 0.5812 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3827, allocations: 47.5 kB / 0.5813 GB, free: 30.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.756e-06/0.3828, allocations: 0 / 0.5813 GB, free: 30.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02709/0.4098, allocations: 8.157 MB / 0.5892 GB, free: 28.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4099, allocations: 64.91 kB / 0.5893 GB, free: 28.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.411, allocations: 0.896 MB / 0.5902 GB, free: 28.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4112, allocations: 40.58 kB / 0.5902 GB, free: 28.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.4114, allocations: 0.4909 MB / 0.5907 GB, free: 27.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.4117, allocations: 346.1 kB / 0.591 GB, free: 27.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.4118, allocations: 24.78 kB / 0.591 GB, free: 27.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.4119, allocations: 348.3 kB / 0.5914 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.4135, allocations: 0.8087 MB / 0.5922 GB, free: 26.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.4152, allocations: 0.9343 MB / 0.5931 GB, free: 26.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.4169, allocations: 0.8647 MB / 0.5939 GB, free: 26.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4169, allocations: 1.031 kB / 0.5939 GB, free: 26.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01514/0.4321, allocations: 5.211 MB / 0.599 GB, free: 25.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4321, allocations: 5.188 kB / 0.599 GB, free: 25.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4321, allocations: 3.234 kB / 0.599 GB, free: 25.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006742/0.4389, allocations: 2.099 MB / 0.6011 GB, free: 24.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.44, allocations: 230.9 kB / 0.6013 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.462, allocations: 9.995 MB / 0.611 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4637, allocations: 217.4 kB / 0.6112 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.4638, allocations: 39.61 kB / 0.6113 GB, free: 20.22 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004401/0.4642, allocations: 252.2 kB / 0.6115 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4644, allocations: 118.5 kB / 0.6116 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.4778, allocations: 4.948 MB / 0.6165 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4778, allocations: 12 kB / 0.6165 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4778, allocations: 0.8906 kB / 0.6165 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4778, allocations: 5.172 kB / 0.6165 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.4918, allocations: 6.563 MB / 0.6229 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4918, allocations: 0 / 0.6229 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.4924, allocations: 147.8 kB / 0.623 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0057/0.4981, allocations: 2.05 MB / 0.625 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.4983, allocations: 20 kB / 0.6251 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.5157, allocations: 8.658 MB / 0.6335 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5158, allocations: 3.953 kB / 0.6335 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.5319, allocations: 5.982 MB / 0.6394 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.5323, allocations: 207.4 kB / 0.6396 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5324, allocations: 21.88 kB / 0.6396 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5335, allocations: 159.8 kB / 0.6397 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006074/0.5341, allocations: 212.6 kB / 0.6399 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.5342, allocations: 27.98 kB / 0.64 GB, free: 7.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006971/0.5349, allocations: 0.5891 MB / 0.6405 GB, free: 6.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5349, allocations: 0 / 0.6405 GB, free: 6.672 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001198/0.5361, allocations: 443.5 kB / 0.641 GB, free: 6.238 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 (64): * Single equations (assignments): 63 * 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.01664/0.5527, allocations: 6.575 MB / 0.6474 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007395/0.5602, allocations: 2.772 MB / 0.6501 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5602, allocations: 0 / 0.6501 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005458/0.5657, allocations: 1.801 MB / 0.6518 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.5663, allocations: 64.42 kB / 0.6519 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.5713, allocations: 4.227 MB / 0.656 GB, free: 6.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.5719, allocations: 1.122 MB / 0.6571 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.5722, allocations: 85.88 kB / 0.6572 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/0.5729, allocations: 439.3 kB / 0.6576 GB, free: 5.027 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5729, allocations: 4 kB / 0.6576 GB, free: 5.023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/0.6208, allocations: 29.33 MB / 0.6863 GB, free: 8.102 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.6211, allocations: 208 kB / 0.6865 GB, free: 7.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.379, allocations: 0 / 0.6865 GB, free: 7.867 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: