Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08008/0.08008, allocations: 12.59 MB / 28.22 MB, free: 0.7812 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.001087/0.001087, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.257/1.257, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 188.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4086/0.4086, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.002486/0.002486, allocations: 142.6 kB / 0.5554 GB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1091, allocations: 68.12 MB / 0.6219 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.00605/0.1152, allocations: 5.988 MB / 0.6278 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.1185, allocations: 1.768 MB / 0.6295 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.1189, allocations: 15.94 kB / 0.6295 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.1195, allocations: 206.3 kB / 0.6297 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.121, allocations: 0.7646 MB / 0.6304 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1222, allocations: 0.5687 MB / 0.631 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1236, allocations: 1.347 MB / 0.6323 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.124, allocations: 275.2 kB / 0.6326 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.1246, allocations: 0.5562 MB / 0.6331 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.1253, allocations: 0.6962 MB / 0.6338 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.1255, allocations: 96 kB / 0.6339 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.1259, allocations: 239.8 kB / 0.6341 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.1261, allocations: 254.9 kB / 0.6344 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.1265, allocations: 0.5709 MB / 0.6349 GB, free: 276 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1278, allocations: 1.442 MB / 0.6363 GB, free: 14.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1279, allocations: 0 / 0.6363 GB, free: 14.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1279, allocations: 0 / 0.6363 GB, free: 14.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1279, allocations: 0 / 0.6363 GB, free: 14.82 MB / 462.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.007408/0.1353, allocations: 2.438 MB / 0.6387 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1354, allocations: 15.98 kB / 0.6387 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.1355, allocations: 114.5 kB / 0.6388 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.1402, allocations: 0.7634 MB / 0.6396 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1413, allocations: 0.7517 MB / 0.6403 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.1416, allocations: 248.2 kB / 0.6406 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.1417, allocations: 71.91 kB / 0.6406 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.1436, allocations: 0.9871 MB / 0.6416 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1436, allocations: 0 / 0.6416 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.1437, allocations: 24 kB / 0.6416 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1437, allocations: 19.94 kB / 0.6416 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.1457, allocations: 0.9955 MB / 0.6426 GB, free: 8.25 MB / 462.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.004966/0.1507, allocations: 3.266 MB / 0.6458 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1526, allocations: 1.36 MB / 0.6471 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.1539, allocations: 0.7149 MB / 0.6478 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.154, allocations: 16.98 kB / 0.6478 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1541, allocations: 47.55 kB / 0.6479 GB, free: 2.566 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.154e-06/0.1541, allocations: 0 / 0.6479 GB, free: 2.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.0236/0.1777, allocations: 6.551 MB / 0.6543 GB, free: 11.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.1778, allocations: 68.34 kB / 0.6543 GB, free: 11.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.1789, allocations: 0.8468 MB / 0.6552 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.1791, allocations: 41.7 kB / 0.6552 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.1794, allocations: 444.4 kB / 0.6556 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.1797, allocations: 315.5 kB / 0.6559 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.1801, allocations: 194.8 kB / 0.6561 GB, free: 10.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1802, allocations: 345.9 kB / 0.6564 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.1816, allocations: 0.6975 MB / 0.6571 GB, free: 8.992 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.1831, allocations: 0.8189 MB / 0.6579 GB, free: 8.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.1859, allocations: 1.486 MB / 0.6594 GB, free: 6.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1859, allocations: 0 / 0.6594 GB, free: 6.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01288/0.1988, allocations: 4.277 MB / 0.6636 GB, free: 2.332 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1989, allocations: 8 kB / 0.6636 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1989, allocations: 4 kB / 0.6636 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006277/0.2052, allocations: 1.846 MB / 0.6654 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.2061, allocations: 175.8 kB / 0.6655 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.2266, allocations: 9.46 MB / 0.6748 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.228, allocations: 159 kB / 0.6749 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.2282, allocations: 43.98 kB / 0.675 GB, free: 6.48 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004383/0.2287, allocations: 222 kB / 0.6752 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.2289, allocations: 106.6 kB / 0.6753 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.2403, allocations: 3.884 MB / 0.6791 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.2404, allocations: 8 kB / 0.6791 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2404, allocations: 0 / 0.6791 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.2404, allocations: 3.984 kB / 0.6791 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.255/0.4954, allocations: 5.423 MB / 0.6844 GB, free: 52.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.4954, allocations: 0 / 0.6844 GB, free: 52.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.4961, allocations: 94.67 kB / 0.6845 GB, free: 52.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/0.5018, allocations: 1.751 MB / 0.6862 GB, free: 52.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.5019, allocations: 25.06 kB / 0.6862 GB, free: 52.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.52, allocations: 8.033 MB / 0.6941 GB, free: 49.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.52, allocations: 1.156 kB / 0.6941 GB, free: 49.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.5341, allocations: 4.783 MB / 0.6987 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.5349, allocations: 189.2 kB / 0.6989 GB, free: 48.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.5352, allocations: 19.62 kB / 0.6989 GB, free: 48.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5363, allocations: 97.67 kB / 0.699 GB, free: 48.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/0.537, allocations: 195.7 kB / 0.6992 GB, free: 48.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.5371, allocations: 22.56 kB / 0.6992 GB, free: 48.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006739/0.5377, allocations: 0.5793 MB / 0.6998 GB, free: 47.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5377, allocations: 0 / 0.6998 GB, free: 47.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001907/0.5397, allocations: 427.8 kB / 0.7002 GB, free: 47.89 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01385/0.5535, allocations: 5.341 MB / 0.7054 GB, free: 46.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005425/0.559, allocations: 2.411 MB / 0.7078 GB, free: 45.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.559, allocations: 0 / 0.7078 GB, free: 45.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/0.5627, allocations: 1.533 MB / 0.7093 GB, free: 44.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.5633, allocations: 82.62 kB / 0.7093 GB, free: 44.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/0.5943, allocations: 14.92 MB / 0.7239 GB, free: 31.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.5947, allocations: 1.037 MB / 0.7249 GB, free: 30.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.5951, allocations: 78.45 kB / 0.725 GB, free: 30.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.5955, allocations: 401.5 kB / 0.7254 GB, free: 30.26 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5956, allocations: 0 / 0.7254 GB, free: 30.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.6467, allocations: 32.52 MB / 0.7571 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.56, allocations: 3.859 kB / 0.7571 GB, free: 13.8 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)