Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08467/0.08467, allocations: 12.2 MB / 27.16 MB, free: 0.9023 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 100.1 kB / 30.66 MB, free: 4.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 239.5 MB, free: 10.88 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.001039/0.001039, allocations: 177.2 kB / 290.6 MB, free: 8.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4545/0.4545, allocations: 78.51 MB / 420.1 MB, free: 6.629 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008943/0.0008944, allocations: 25.94 kB / 0.4895 GB, free: 37.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.134, allocations: 69.25 MB / 0.5571 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.00577/0.1398, allocations: 5.665 MB / 0.5626 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1435, allocations: 1.816 MB / 0.5644 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005528/0.144, allocations: 19.88 kB / 0.5644 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.1445, allocations: 154.8 kB / 0.5646 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.146, allocations: 0.6571 MB / 0.5652 GB, free: 500 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1471, allocations: 0.5063 MB / 0.5657 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.1484, allocations: 0.9247 MB / 0.5666 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.1488, allocations: 261.7 kB / 0.5669 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006114/0.1494, allocations: 0.5019 MB / 0.5674 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006849/0.1501, allocations: 0.6339 MB / 0.568 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1502, allocations: 55.94 kB / 0.568 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.1506, allocations: 159.9 kB / 0.5682 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1508, allocations: 223 kB / 0.5684 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.151, allocations: 217 kB / 0.5686 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009591/0.152, allocations: 1.052 MB / 0.5696 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.152, allocations: 4 kB / 0.5696 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.152, allocations: 0 / 0.5696 GB, free: 11.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.152, allocations: 0 / 0.5696 GB, free: 11.94 MB / 398.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.007592/0.1596, allocations: 2.401 MB / 0.572 GB, free: 9.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1597, allocations: 19.98 kB / 0.572 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.1599, allocations: 122.8 kB / 0.5721 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.1649, allocations: 0.7904 MB / 0.5729 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1661, allocations: 0.7305 MB / 0.5736 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.1665, allocations: 272.2 kB / 0.5739 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1666, allocations: 80 kB / 0.5739 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.1691, allocations: 1.155 MB / 0.5751 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1691, allocations: 0 / 0.5751 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/0.1693, allocations: 32 kB / 0.5751 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1693, allocations: 16 kB / 0.5751 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.1719, allocations: 1.241 MB / 0.5763 GB, free: 4.93 MB / 398.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.00626/0.1782, allocations: 3.623 MB / 0.5799 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.1806, allocations: 1.521 MB / 0.5813 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.1807, allocations: 12.98 kB / 0.5814 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1808, allocations: 43.56 kB / 0.5814 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.826e-06/0.1808, allocations: 0 / 0.5814 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02763/0.2084, allocations: 8.165 MB / 0.5894 GB, free: 7.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.2085, allocations: 64.41 kB / 0.5894 GB, free: 7.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.2098, allocations: 0.8884 MB / 0.5903 GB, free: 6.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.21, allocations: 41.7 kB / 0.5903 GB, free: 6.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.2104, allocations: 0.4929 MB / 0.5908 GB, free: 5.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.2107, allocations: 347 kB / 0.5912 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.2108, allocations: 20 kB / 0.5912 GB, free: 5.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.211, allocations: 357.9 kB / 0.5915 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.2128, allocations: 0.8029 MB / 0.5923 GB, free: 4.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.2147, allocations: 0.9439 MB / 0.5932 GB, free: 3.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.2166, allocations: 0.8549 MB / 0.5941 GB, free: 2.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2166, allocations: 4 kB / 0.5941 GB, free: 2.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01497/0.2316, allocations: 5.21 MB / 0.5991 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.2316, allocations: 4 kB / 0.5991 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2317, allocations: 4 kB / 0.5992 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006838/0.2385, allocations: 2.104 MB / 0.6012 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.2397, allocations: 239.6 kB / 0.6014 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/0.2627, allocations: 9.982 MB / 0.6112 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.2643, allocations: 222.9 kB / 0.6114 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.2645, allocations: 47.98 kB / 0.6114 GB, free: 392 kB / 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.0005236/0.265, allocations: 237.6 kB / 0.6117 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.2652, allocations: 118.5 kB / 0.6118 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.2794, allocations: 4.952 MB / 0.6166 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.2794, allocations: 16 kB / 0.6166 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2795, allocations: 0 / 0.6166 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.2795, allocations: 3.984 kB / 0.6166 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.2956, allocations: 6.555 MB / 0.623 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.2957, allocations: 0 / 0.623 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.2964, allocations: 151.8 kB / 0.6232 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.3026, allocations: 2.058 MB / 0.6252 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.3028, allocations: 20 kB / 0.6252 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.3217, allocations: 8.667 MB / 0.6337 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3217, allocations: 0 / 0.6337 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.338, allocations: 5.982 MB / 0.6395 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.3386, allocations: 203.4 kB / 0.6397 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.3388, allocations: 19.95 kB / 0.6397 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.3398, allocations: 159.9 kB / 0.6399 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/0.3405, allocations: 212.6 kB / 0.6401 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.3406, allocations: 24 kB / 0.6401 GB, free: 2.668 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007511/0.3413, allocations: 0.5968 MB / 0.6407 GB, free: 2.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3414, allocations: 0 / 0.6407 GB, free: 2.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001206/0.3426, allocations: 443.5 kB / 0.6411 GB, free: 1.629 MB / 462.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.01674/0.3593, allocations: 6.561 MB / 0.6475 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007122/0.3665, allocations: 2.775 MB / 0.6502 GB, free: 8.242 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3665, allocations: 0 / 0.6502 GB, free: 8.242 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004917/0.3714, allocations: 1.802 MB / 0.652 GB, free: 6.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.3722, allocations: 68.38 kB / 0.6521 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.3769, allocations: 4.214 MB / 0.6562 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.3775, allocations: 1.122 MB / 0.6573 GB, free: 0.918 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003353/0.3778, allocations: 90.77 kB / 0.6574 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.3784, allocations: 439.3 kB / 0.6578 GB, free: 404 kB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3784, allocations: 0 / 0.6578 GB, free: 404 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/0.6499, allocations: 29.32 MB / 0.6864 GB, free: 84.1 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.6501, allocations: 210.8 kB / 0.6866 GB, free: 83.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.195, allocations: 0 / 0.6866 GB, free: 83.86 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: