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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07759/0.07759, allocations: 12.61 MB / 28.86 MB, free: 396 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001029, allocations: 111.5 kB / 32.46 MB, free: 3.449 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.329/1.329, allocations: 205.1 MB / 241.1 MB, free: 12.39 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.001245/0.001245, allocations: 187.3 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4185/0.4185, allocations: 78.5 MB / 419.9 MB, free: 11.32 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.004557/0.004557, allocations: 153 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3922, allocations: 68.1 MB / 0.556 GB, free: 33.01 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.006374/0.3987, allocations: 5.991 MB / 0.5618 GB, free: 28.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.4019, allocations: 1.765 MB / 0.5636 GB, free: 27.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.4024, allocations: 12.06 kB / 0.5636 GB, free: 27.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.4028, allocations: 215.4 kB / 0.5638 GB, free: 26.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.4043, allocations: 0.7049 MB / 0.5645 GB, free: 26.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.4053, allocations: 0.5785 MB / 0.565 GB, free: 25.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.4065, allocations: 1.344 MB / 0.5664 GB, free: 25.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.4069, allocations: 284.4 kB / 0.5666 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.4074, allocations: 0.5532 MB / 0.5672 GB, free: 24.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.408, allocations: 0.6943 MB / 0.5678 GB, free: 24.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.4082, allocations: 101.8 kB / 0.5679 GB, free: 24.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.4086, allocations: 234.6 kB / 0.5682 GB, free: 24.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.4088, allocations: 265.2 kB / 0.5684 GB, free: 23.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.4092, allocations: 0.57 MB / 0.569 GB, free: 23.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.4102, allocations: 1.421 MB / 0.5704 GB, free: 22.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4103, allocations: 0 / 0.5704 GB, free: 22.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4103, allocations: 0 / 0.5704 GB, free: 22.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.4103, allocations: 5.078 kB / 0.5704 GB, free: 22.39 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007586/0.4179, allocations: 2.446 MB / 0.5728 GB, free: 20.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.4179, allocations: 13.02 kB / 0.5728 GB, free: 20.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.4229, allocations: 0.7701 MB / 0.5735 GB, free: 20.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4241, allocations: 0.7424 MB / 0.5742 GB, free: 19.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.4244, allocations: 255.8 kB / 0.5745 GB, free: 19.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4245, allocations: 73.09 kB / 0.5746 GB, free: 19.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.4264, allocations: 0.9798 MB / 0.5755 GB, free: 19.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4264, allocations: 4 kB / 0.5755 GB, free: 19.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.4265, allocations: 33.89 kB / 0.5756 GB, free: 19.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.4265, allocations: 15.69 kB / 0.5756 GB, free: 19.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.4283, allocations: 0.9939 MB / 0.5765 GB, free: 18.2 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.004728/0.4331, allocations: 3.254 MB / 0.5797 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.4348, allocations: 1.353 MB / 0.581 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.436, allocations: 0.7188 MB / 0.5817 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.4361, allocations: 16.98 kB / 0.5818 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4362, allocations: 39.56 kB / 0.5818 GB, free: 12.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 2.174e-06/0.4362, allocations: 4 kB / 0.5818 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=85): time 0.02218/0.4584, allocations: 6.547 MB / 0.5882 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4584, allocations: 68.33 kB / 0.5883 GB, free: 5.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/0.4594, allocations: 0.8545 MB / 0.5891 GB, free: 4.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.4596, allocations: 37.7 kB / 0.5891 GB, free: 4.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.4598, allocations: 440.5 kB / 0.5895 GB, free: 4.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.4601, allocations: 307.6 kB / 0.5898 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.4604, allocations: 206.8 kB / 0.59 GB, free: 3.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.4605, allocations: 353.9 kB / 0.5904 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.4618, allocations: 0.6858 MB / 0.591 GB, free: 2.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.4631, allocations: 0.8228 MB / 0.5918 GB, free: 2.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.4656, allocations: 1.49 MB / 0.5933 GB, free: 0.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4656, allocations: 0 / 0.5933 GB, free: 0.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0135/0.4791, allocations: 4.269 MB / 0.5975 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4792, allocations: 4 kB / 0.5975 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.4792, allocations: 4 kB / 0.5975 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006851/0.4861, allocations: 1.85 MB / 0.5993 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4871, allocations: 187.7 kB / 0.5995 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.5092, allocations: 9.461 MB / 0.6087 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.5109, allocations: 163 kB / 0.6089 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.5111, allocations: 39.98 kB / 0.6089 GB, free: 468 kB / 414.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.0004892/0.5116, allocations: 222 kB / 0.6091 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.5119, allocations: 118.6 kB / 0.6092 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.5251, allocations: 3.884 MB / 0.613 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5252, allocations: 11.94 kB / 0.613 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5252, allocations: 0 / 0.613 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.5252, allocations: 3.984 kB / 0.613 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.5415, allocations: 5.419 MB / 0.6183 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.5415, allocations: 0 / 0.6183 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.5423, allocations: 103.8 kB / 0.6184 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00611/0.5484, allocations: 1.741 MB / 0.6201 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.5486, allocations: 16 kB / 0.6201 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/0.5685, allocations: 8.053 MB / 0.628 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5686, allocations: 3.938 kB / 0.628 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.5837, allocations: 4.763 MB / 0.6327 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.5843, allocations: 199.5 kB / 0.6328 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.5847, allocations: 19.98 kB / 0.6329 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.586, allocations: 95.89 kB / 0.633 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007592/0.5868, allocations: 196.7 kB / 0.6331 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.5869, allocations: 20 kB / 0.6332 GB, free: 7.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00095/0.5879, allocations: 0.5741 MB / 0.6337 GB, free: 6.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5879, allocations: 4 kB / 0.6337 GB, free: 6.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001736/0.5896, allocations: 427.6 kB / 0.6341 GB, free: 6.227 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 (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.0003381/0.59, allocations: 126.6 kB / 0.6343 GB, free: 6.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006975/0.597, allocations: 2.418 MB / 0.6366 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.597, allocations: 0 / 0.6366 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004792/0.6018, allocations: 1.523 MB / 0.6381 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.603, allocations: 91.31 kB / 0.6382 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.6072, allocations: 1.928 MB / 0.6401 GB, free: 88 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.608, allocations: 1.041 MB / 0.6411 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.6084, allocations: 78.45 kB / 0.6412 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.6087, allocations: 63.42 kB / 0.6412 GB, free: 14.88 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6087, allocations: 0 / 0.6412 GB, free: 14.88 MB / 462.1 MB Notification: Performance of Templates: time 0.03533/0.644, allocations: 23.4 MB / 0.6641 GB, free: 7.48 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)