Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 169.9 kB / 16.07 MB, free: 5.496 MB / 13.93 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: 222.9 MB / 239.7 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008215, allocations: 95.88 kB / 290.4 MB, free: 11.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4401/0.4401, allocations: 78.42 MB / 419.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 12 kB / 499.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 68.75 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004985/0.3099, allocations: 6.379 MB / 0.5607 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3128, allocations: 1.825 MB / 0.5625 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000525/0.3133, allocations: 12 kB / 0.5625 GB, free: 12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.3137, allocations: 170.9 kB / 0.5627 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.315, allocations: 0.6218 MB / 0.5633 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.316, allocations: 0.5519 MB / 0.5638 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.3169, allocations: 1.272 MB / 0.5651 GB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.3172, allocations: 248.1 kB / 0.5653 GB, free: 9.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.3176, allocations: 0.4976 MB / 0.5658 GB, free: 8.625 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.3181, allocations: 0.6336 MB / 0.5664 GB, free: 7.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.396e-05/0.3182, allocations: 52 kB / 0.5665 GB, free: 7.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.3186, allocations: 179.9 kB / 0.5667 GB, free: 7.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3187, allocations: 214.8 kB / 0.5669 GB, free: 7.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.319, allocations: 0.5239 MB / 0.5674 GB, free: 7.023 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.3197, allocations: 1.062 MB / 0.5684 GB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3197, allocations: 0 / 0.5684 GB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3197, allocations: 0 / 0.5684 GB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.3197, allocations: 3.938 kB / 0.5684 GB, free: 5.957 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006193/0.3259, allocations: 2.228 MB / 0.5706 GB, free: 3.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.326, allocations: 12.03 kB / 0.5706 GB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.3307, allocations: 0.7595 MB / 0.5713 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.3322, allocations: 0.736 MB / 0.5721 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.3324, allocations: 248.1 kB / 0.5723 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3326, allocations: 76 kB / 0.5724 GB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.3343, allocations: 1.086 MB / 0.5734 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3344, allocations: 3.938 kB / 0.5734 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.3345, allocations: 28 kB / 0.5735 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3345, allocations: 16 kB / 0.5735 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.3364, allocations: 1.031 MB / 0.5745 GB, free: 15.59 MB / 394.7 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.004859/0.3412, allocations: 3.084 MB / 0.5775 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.344, allocations: 1.567 MB / 0.579 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.3455, allocations: 0.7462 MB / 0.5798 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.3456, allocations: 16.98 kB / 0.5798 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3456, allocations: 47.56 kB / 0.5798 GB, free: 9.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.896e-06/0.3456, allocations: 0 / 0.5798 GB, free: 9.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02876/0.3744, allocations: 7.484 MB / 0.5871 GB, free: 2.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3745, allocations: 60.41 kB / 0.5872 GB, free: 2.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3755, allocations: 0.8398 MB / 0.588 GB, free: 1.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.3758, allocations: 41.7 kB / 0.588 GB, free: 1.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.3761, allocations: 452.5 kB / 0.5885 GB, free: 0.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.3764, allocations: 327.3 kB / 0.5888 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3766, allocations: 101.7 kB / 0.5889 GB, free: 500 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3767, allocations: 353.9 kB / 0.5892 GB, free: 140 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.3781, allocations: 0.6937 MB / 0.5899 GB, free: 15.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3796, allocations: 0.8141 MB / 0.5907 GB, free: 14.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.3824, allocations: 1.501 MB / 0.5922 GB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3825, allocations: 0 / 0.5922 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01358/0.396, allocations: 4.359 MB / 0.5964 GB, free: 8.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.3961, allocations: 4 kB / 0.5964 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3961, allocations: 4 kB / 0.5964 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/0.4025, allocations: 1.897 MB / 0.5983 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.4034, allocations: 171.7 kB / 0.5984 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/0.4255, allocations: 9.181 MB / 0.6074 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4269, allocations: 167 kB / 0.6076 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.427, allocations: 35.98 kB / 0.6076 GB, free: 13.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.4275, allocations: 229.7 kB / 0.6078 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.4277, allocations: 110.6 kB / 0.6079 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.4404, allocations: 4.057 MB / 0.6119 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.4404, allocations: 8 kB / 0.6119 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4404, allocations: 4 kB / 0.6119 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.4405, allocations: 3.984 kB / 0.6119 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.4552, allocations: 5.629 MB / 0.6174 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.4553, allocations: 0 / 0.6174 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.4559, allocations: 91.89 kB / 0.6175 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00611/0.4621, allocations: 1.839 MB / 0.6193 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.4623, allocations: 19.98 kB / 0.6193 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.4802, allocations: 7.862 MB / 0.627 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.4802, allocations: 3.938 kB / 0.627 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.4948, allocations: 4.954 MB / 0.6318 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.4952, allocations: 199.6 kB / 0.632 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.4954, allocations: 16 kB / 0.632 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.4963, allocations: 87.89 kB / 0.6321 GB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/0.4969, allocations: 212.6 kB / 0.6323 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.497, allocations: 24 kB / 0.6323 GB, free: 3.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007264/0.4978, allocations: 0.5667 MB / 0.6329 GB, free: 2.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4978, allocations: 0 / 0.6329 GB, free: 2.832 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001286/0.4991, allocations: 439.6 kB / 0.6333 GB, free: 2.402 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/0.4993, allocations: 134.2 kB / 0.6334 GB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006233/0.5056, allocations: 2.402 MB / 0.6358 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5056, allocations: 4.438 kB / 0.6358 GB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004414/0.51, allocations: 1.54 MB / 0.6373 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.5109, allocations: 79.44 kB / 0.6374 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.5146, allocations: 2.392 MB / 0.6397 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.5153, allocations: 1.057 MB / 0.6407 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.5156, allocations: 63.42 kB / 0.6408 GB, free: 10.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5156, allocations: 0 / 0.6408 GB, free: 10.64 MB / 458.7 MB Notification: Performance of Templates: time 0.02483/0.5404, allocations: 18.72 MB / 0.6591 GB, free: 7.891 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)