Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.001136/0.001137, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.374/1.374, allocations: 223.2 MB / 239 MB, free: 5.461 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.001194/0.001194, allocations: 172.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4437/0.4437, allocations: 78.56 MB / 419.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 16 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 69.35 MB / 0.5559 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.2744/0.4142, allocations: 5.484 MB / 0.5613 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.4182, allocations: 1.725 MB / 0.5629 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007517/0.419, allocations: 12.78 kB / 0.5629 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.4195, allocations: 151.7 kB / 0.5631 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.4211, allocations: 0.5867 MB / 0.5637 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4222, allocations: 499.6 kB / 0.5641 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.4233, allocations: 1.209 MB / 0.5653 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.4237, allocations: 221.2 kB / 0.5655 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.4242, allocations: 488.8 kB / 0.566 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005705/0.4248, allocations: 0.6097 MB / 0.5666 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.652e-05/0.4249, allocations: 53.44 kB / 0.5666 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.4253, allocations: 182 kB / 0.5668 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.4254, allocations: 203.2 kB / 0.567 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4256, allocations: 202.4 kB / 0.5672 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4266, allocations: 1.059 MB / 0.5682 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4266, allocations: 3.531 kB / 0.5682 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4266, allocations: 0 / 0.5682 GB, free: 35.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4267, allocations: 0 / 0.5682 GB, free: 35.91 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006595/0.4333, allocations: 2.299 MB / 0.5705 GB, free: 35.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4333, allocations: 10.06 kB / 0.5705 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/0.4335, allocations: 116.8 kB / 0.5706 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/0.438, allocations: 0.7741 MB / 0.5714 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4392, allocations: 0.7058 MB / 0.5721 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.4395, allocations: 263.4 kB / 0.5723 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4396, allocations: 71.31 kB / 0.5724 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.4415, allocations: 1.051 MB / 0.5734 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4415, allocations: 0 / 0.5734 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.4416, allocations: 25.75 kB / 0.5734 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4416, allocations: 22.67 kB / 0.5734 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4435, allocations: 1.08 MB / 0.5745 GB, free: 34.37 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.004907/0.4484, allocations: 3.349 MB / 0.5778 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.4503, allocations: 1.419 MB / 0.5792 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.4515, allocations: 0.7928 MB / 0.5799 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.4517, allocations: 17.55 kB / 0.5799 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4517, allocations: 40.59 kB / 0.58 GB, free: 31.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.477e-06/0.4517, allocations: 4 kB / 0.58 GB, free: 31.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02427/0.476, allocations: 8.115 MB / 0.5879 GB, free: 30.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4761, allocations: 60.56 kB / 0.588 GB, free: 29.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.4773, allocations: 0.8424 MB / 0.5888 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.4776, allocations: 37.23 kB / 0.5888 GB, free: 29.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.4778, allocations: 446.3 kB / 0.5893 GB, free: 29.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.4782, allocations: 305.8 kB / 0.5895 GB, free: 28.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.4782, allocations: 20.59 kB / 0.5896 GB, free: 28.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.4783, allocations: 353.2 kB / 0.5899 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.4798, allocations: 0.7612 MB / 0.5906 GB, free: 28.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.4814, allocations: 0.8974 MB / 0.5915 GB, free: 27.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.4829, allocations: 0.8129 MB / 0.5923 GB, free: 27.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.4829, allocations: 1.125 kB / 0.5923 GB, free: 27.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01409/0.497, allocations: 5.13 MB / 0.5973 GB, free: 26.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.4971, allocations: 7.031 kB / 0.5973 GB, free: 26.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.4972, allocations: 2.281 kB / 0.5973 GB, free: 26.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008159/0.5053, allocations: 2.176 MB / 0.5995 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.5067, allocations: 188.9 kB / 0.5996 GB, free: 26.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.5278, allocations: 9.689 MB / 0.6091 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.5294, allocations: 202.3 kB / 0.6093 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5295, allocations: 38.47 kB / 0.6093 GB, free: 21.86 MB / 430.1 MB 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 (106): * Single equations (assignments): 105 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004208/0.53, allocations: 227 kB / 0.6096 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.5302, allocations: 104.8 kB / 0.6097 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.5422, allocations: 4.793 MB / 0.6143 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5423, allocations: 8 kB / 0.6143 GB, free: 17.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5423, allocations: 5.859 kB / 0.6143 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.5423, allocations: 4.828 kB / 0.6143 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.555, allocations: 6.339 MB / 0.6205 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5551, allocations: 0 / 0.6205 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.5557, allocations: 107.9 kB / 0.6206 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005249/0.5609, allocations: 2.051 MB / 0.6226 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.5611, allocations: 16 kB / 0.6227 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.5763, allocations: 8.195 MB / 0.6307 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5764, allocations: 4 kB / 0.6307 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.5909, allocations: 5.743 MB / 0.6363 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.5914, allocations: 200.7 kB / 0.6365 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.5918, allocations: 16 kB / 0.6365 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.593, allocations: 129.1 kB / 0.6366 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/0.5937, allocations: 204.5 kB / 0.6368 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.5938, allocations: 16 kB / 0.6368 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008903/0.5947, allocations: 0.5702 MB / 0.6374 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5947, allocations: 4 kB / 0.6374 GB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001712/0.5964, allocations: 431.5 kB / 0.6378 GB, free: 9.648 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * 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 (52): * Single equations (assignments): 51 * 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.01513/0.6116, allocations: 6.309 MB / 0.6439 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007064/0.6187, allocations: 2.671 MB / 0.6466 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6187, allocations: 0 / 0.6466 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004569/0.6233, allocations: 1.715 MB / 0.6482 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6243, allocations: 78.31 kB / 0.6483 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/0.649, allocations: 11.08 MB / 0.6591 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/0.6497, allocations: 1.037 MB / 0.6601 GB, free: 2.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004332/0.6502, allocations: 85.69 kB / 0.6602 GB, free: 2.355 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.6508, allocations: 395.3 kB / 0.6606 GB, free: 1.969 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6509, allocations: 0 / 0.6606 GB, free: 1.969 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05487/0.7057, allocations: 28.88 MB / 0.6888 GB, free: 5.422 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.706, allocations: 214.6 kB / 0.689 GB, free: 5.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.419, allocations: 0 / 0.689 GB, free: 5.168 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) Environment - environmentSimulation: