Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.0009305/0.0009304, allocations: 97.91 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.321/1.321, allocations: 223.2 MB / 238.9 MB, free: 5.449 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.001019/0.001019, allocations: 177.1 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4529/0.4529, allocations: 78.52 MB / 419.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 499.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 69.36 MB / 0.5558 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2206/0.3455, allocations: 5.009 MB / 0.5607 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3482, allocations: 1.711 MB / 0.5623 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.3488, allocations: 18.38 kB / 0.5623 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.3491, allocations: 141.5 kB / 0.5625 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.3506, allocations: 0.621 MB / 0.5631 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.3515, allocations: 485.5 kB / 0.5636 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3526, allocations: 0.8125 MB / 0.5643 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.3529, allocations: 213.4 kB / 0.5645 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/0.3534, allocations: 461.5 kB / 0.565 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.3539, allocations: 0.5542 MB / 0.5655 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.354, allocations: 48.41 kB / 0.5656 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.3544, allocations: 163.3 kB / 0.5657 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3545, allocations: 192.5 kB / 0.5659 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3547, allocations: 198.7 kB / 0.5661 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007824/0.3554, allocations: 0.9447 MB / 0.567 GB, free: 36.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3555, allocations: 2.969 kB / 0.567 GB, free: 36.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3555, allocations: 0 / 0.567 GB, free: 36.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3555, allocations: 0.875 kB / 0.567 GB, free: 36.5 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006848/0.3623, allocations: 2.203 MB / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3624, allocations: 8.938 kB / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.3626, allocations: 117.3 kB / 0.5693 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.3676, allocations: 0.7696 MB / 0.5701 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.3688, allocations: 0.676 MB / 0.5707 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.3691, allocations: 262.6 kB / 0.571 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.3692, allocations: 69.69 kB / 0.571 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.3711, allocations: 1.019 MB / 0.572 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3711, allocations: 1.781 kB / 0.572 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.3712, allocations: 31.69 kB / 0.5721 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3712, allocations: 18.3 kB / 0.5721 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.3732, allocations: 1.057 MB / 0.5731 GB, free: 35.02 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.004911/0.3781, allocations: 3.34 MB / 0.5764 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.38, allocations: 1.37 MB / 0.5777 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.3801, allocations: 18.34 kB / 0.5777 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3802, allocations: 41.84 kB / 0.5778 GB, free: 32.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.105e-06/0.3802, allocations: 0 / 0.5778 GB, free: 32.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02797/0.4082, allocations: 8.361 MB / 0.5859 GB, free: 30.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4083, allocations: 65.25 kB / 0.586 GB, free: 30.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.4093, allocations: 0.791 MB / 0.5868 GB, free: 30.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.4095, allocations: 40.83 kB / 0.5868 GB, free: 30.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.4097, allocations: 439.7 kB / 0.5872 GB, free: 30.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.41, allocations: 300.6 kB / 0.5875 GB, free: 29.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.4101, allocations: 19.41 kB / 0.5875 GB, free: 29.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.4102, allocations: 341.3 kB / 0.5879 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.4116, allocations: 0.7249 MB / 0.5886 GB, free: 29.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.4132, allocations: 0.843 MB / 0.5894 GB, free: 28.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.4148, allocations: 0.7734 MB / 0.5901 GB, free: 28.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4148, allocations: 0 / 0.5901 GB, free: 28.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01488/0.4297, allocations: 4.972 MB / 0.595 GB, free: 27.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.4297, allocations: 5.906 kB / 0.595 GB, free: 27.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.4297, allocations: 2.406 kB / 0.595 GB, free: 27.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00713/0.4369, allocations: 2.107 MB / 0.5971 GB, free: 27.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4379, allocations: 183.1 kB / 0.5972 GB, free: 27.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.4615, allocations: 9.97 MB / 0.607 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.4632, allocations: 193.1 kB / 0.6072 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4633, allocations: 49.33 kB / 0.6072 GB, free: 22.89 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.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 (96): * Single equations (assignments): 95 * 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.0004711/0.4638, allocations: 221.4 kB / 0.6074 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.4639, allocations: 112.8 kB / 0.6075 GB, free: 22.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.4779, allocations: 4.734 MB / 0.6121 GB, free: 20.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.4779, allocations: 8 kB / 0.6122 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4779, allocations: 0 / 0.6122 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.478, allocations: 8.594 kB / 0.6122 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.4922, allocations: 6.257 MB / 0.6183 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4923, allocations: 0 / 0.6183 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/0.4928, allocations: 105.4 kB / 0.6184 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005864/0.4987, allocations: 2.049 MB / 0.6204 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.4989, allocations: 17.12 kB / 0.6204 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.5159, allocations: 8.642 MB / 0.6288 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.516, allocations: 0 / 0.6288 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.5309, allocations: 5.688 MB / 0.6344 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.5314, allocations: 195.6 kB / 0.6346 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.5316, allocations: 16 kB / 0.6346 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009685/0.5326, allocations: 131.8 kB / 0.6347 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006194/0.5332, allocations: 197.2 kB / 0.6349 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.5333, allocations: 25.25 kB / 0.6349 GB, free: 12.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006504/0.5339, allocations: 0.5304 MB / 0.6354 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5339, allocations: 0 / 0.6354 GB, free: 11.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0013/0.5352, allocations: 407.5 kB / 0.6358 GB, free: 11.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (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.01564/0.5509, allocations: 6.245 MB / 0.6419 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006711/0.5576, allocations: 2.576 MB / 0.6444 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5577, allocations: 0 / 0.6444 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004738/0.5624, allocations: 1.687 MB / 0.6461 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.5631, allocations: 67.33 kB / 0.6462 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.5672, allocations: 3.867 MB / 0.6499 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.5677, allocations: 1.053 MB / 0.651 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.568, allocations: 81.38 kB / 0.651 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.5685, allocations: 359.3 kB / 0.6514 GB, free: 11.49 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5685, allocations: 4 kB / 0.6514 GB, free: 11.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.6131, allocations: 27.07 MB / 0.6778 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.6133, allocations: 195.9 kB / 0.678 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/2.914, allocations: 0 / 0.678 GB, free: 0.5273 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) Environment - environmentSimulation: