Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_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.008006/0.008006, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.411/1.411, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001598/0.001598, allocations: 196.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6003/0.6003, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 81.56 kB / 0.5723 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1684, allocations: 71.28 MB / 0.6419 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.009822/0.1782, allocations: 5.966 MB / 0.6477 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.1833, allocations: 1.798 MB / 0.6494 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.1842, allocations: 11.94 kB / 0.6495 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.185, allocations: 206.2 kB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.1874, allocations: 0.7105 MB / 0.6503 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1887, allocations: 0.5732 MB / 0.6509 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.1905, allocations: 1.343 MB / 0.6522 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.191, allocations: 282 kB / 0.6525 GB, free: 9.141 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.1919, allocations: 0.5563 MB / 0.653 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.193, allocations: 0.6884 MB / 0.6537 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.1933, allocations: 96 kB / 0.6538 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.194, allocations: 243.9 kB / 0.654 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.1944, allocations: 258.8 kB / 0.6543 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008407/0.1953, allocations: 0.5748 MB / 0.6548 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.197, allocations: 1.437 MB / 0.6562 GB, free: 5.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.197, allocations: 0 / 0.6562 GB, free: 5.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.197, allocations: 0 / 0.6562 GB, free: 5.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.197, allocations: 0 / 0.6562 GB, free: 5.285 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.00812/0.2052, allocations: 2.438 MB / 0.6586 GB, free: 2.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2052, allocations: 12.03 kB / 0.6586 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.2054, allocations: 114.5 kB / 0.6587 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.2103, allocations: 0.7634 MB / 0.6595 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.2116, allocations: 0.7478 MB / 0.6602 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.2119, allocations: 252.2 kB / 0.6605 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.2121, allocations: 67.91 kB / 0.6605 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.2143, allocations: 0.9872 MB / 0.6615 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.2143, allocations: 3.984 kB / 0.6615 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.2144, allocations: 24 kB / 0.6615 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2144, allocations: 20 kB / 0.6615 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.2166, allocations: 0.9916 MB / 0.6625 GB, free: 14.72 MB / 478.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.006199/0.2228, allocations: 3.262 MB / 0.6657 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.2255, allocations: 1.348 MB / 0.667 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.2271, allocations: 0.7227 MB / 0.6677 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.2273, allocations: 9 kB / 0.6677 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.2273, allocations: 47.56 kB / 0.6678 GB, free: 9.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=85): time 2.675e-06/0.2273, allocations: 3.938 kB / 0.6678 GB, free: 9.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=85): time 0.02647/0.2538, allocations: 6.563 MB / 0.6742 GB, free: 2.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.2539, allocations: 68.28 kB / 0.6742 GB, free: 2.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.2552, allocations: 0.8468 MB / 0.6751 GB, free: 1.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.2554, allocations: 41.7 kB / 0.6751 GB, free: 1.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.2557, allocations: 436.5 kB / 0.6755 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.2562, allocations: 315.5 kB / 0.6758 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.2567, allocations: 206.8 kB / 0.676 GB, free: 500 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2568, allocations: 341.9 kB / 0.6763 GB, free: 152 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.2584, allocations: 0.6937 MB / 0.677 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.26, allocations: 0.8228 MB / 0.6778 GB, free: 14.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.2632, allocations: 1.486 MB / 0.6793 GB, free: 13.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.2632, allocations: 0 / 0.6793 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01518/0.2784, allocations: 4.269 MB / 0.6834 GB, free: 8.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.2785, allocations: 8 kB / 0.6835 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.2785, allocations: 8 kB / 0.6835 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007427/0.286, allocations: 1.85 MB / 0.6853 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.2871, allocations: 179.7 kB / 0.6854 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/0.3117, allocations: 9.46 MB / 0.6947 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.3135, allocations: 155 kB / 0.6948 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.3137, allocations: 43.98 kB / 0.6949 GB, free: 12.95 MB / 0.4981 GB 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.000677/0.3144, allocations: 228.8 kB / 0.6951 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.3147, allocations: 106.6 kB / 0.6952 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.3281, allocations: 3.88 MB / 0.699 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.3281, allocations: 8 kB / 0.699 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3281, allocations: 3.938 kB / 0.699 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.3282, allocations: 3.984 kB / 0.699 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/0.3469, allocations: 5.427 MB / 0.7043 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.3469, allocations: 3.984 kB / 0.7043 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.3476, allocations: 99.83 kB / 0.7044 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00641/0.3541, allocations: 1.741 MB / 0.7061 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/0.3543, allocations: 19.98 kB / 0.7061 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/0.3743, allocations: 8.052 MB / 0.714 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3743, allocations: 3.938 kB / 0.714 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.3895, allocations: 4.759 MB / 0.7186 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.39, allocations: 199.6 kB / 0.7188 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.3902, allocations: 19.94 kB / 0.7188 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.3914, allocations: 88.02 kB / 0.7189 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/0.392, allocations: 200.7 kB / 0.7191 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.3921, allocations: 27.98 kB / 0.7191 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008401/0.393, allocations: 0.5702 MB / 0.7197 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.393, allocations: 4 kB / 0.7197 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001349/0.3943, allocations: 435.5 kB / 0.7201 GB, free: 2.723 MB / 0.5137 GB 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.01548/0.4098, allocations: 5.339 MB / 0.7253 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007184/0.4171, allocations: 2.402 MB / 0.7277 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4171, allocations: 0 / 0.7277 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004862/0.422, allocations: 1.535 MB / 0.7292 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/0.4229, allocations: 80.27 kB / 0.7292 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04438/0.4673, allocations: 14.91 MB / 0.7438 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.4683, allocations: 1.041 MB / 0.7448 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004426/0.4688, allocations: 82.44 kB / 0.7449 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/0.4695, allocations: 399.3 kB / 0.7453 GB, free: 8.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/0.4695, allocations: 3.938 kB / 0.7453 GB, free: 8.656 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5349/1.004, allocations: 33.92 MB / 0.7784 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/19.44, allocations: 5.781 kB / 0.7784 GB, free: 120.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)