Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002728/0.002728, allocations: 107 kB / 16.41 MB, free: 6.492 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.719/1.719, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.00216/0.00216, allocations: 188.5 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6931/0.6931, allocations: 78.52 MB / 419.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 80.08 kB / 0.5543 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5408/0.5431, allocations: 68.18 MB / 0.6209 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.009691/0.5528, allocations: 6.032 MB / 0.6268 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006332/0.5592, allocations: 1.774 MB / 0.6285 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.5608, allocations: 12 kB / 0.6285 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009261/0.5618, allocations: 218.2 kB / 0.6287 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.5651, allocations: 0.7006 MB / 0.6294 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.5674, allocations: 0.5853 MB / 0.63 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.5701, allocations: 1.335 MB / 0.6313 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5712, allocations: 291.3 kB / 0.6316 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.5728, allocations: 0.5602 MB / 0.6321 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.5747, allocations: 0.6922 MB / 0.6328 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000468/0.5752, allocations: 96 kB / 0.6329 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5763, allocations: 231.9 kB / 0.6331 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006122/0.5769, allocations: 266.8 kB / 0.6333 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.5782, allocations: 0.5786 MB / 0.6339 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.5819, allocations: 1.442 MB / 0.6353 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.582, allocations: 4 kB / 0.6353 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.582, allocations: 0 / 0.6353 GB, free: 11.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.28e-05/0.5821, allocations: 0 / 0.6353 GB, free: 11.39 MB / 446.1 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.01634/0.5984, allocations: 2.446 MB / 0.6377 GB, free: 8.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.634e-05/0.5985, allocations: 12.02 kB / 0.6377 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00831/0.6068, allocations: 0.7634 MB / 0.6385 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.6096, allocations: 0.7399 MB / 0.6392 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/0.6101, allocations: 248.2 kB / 0.6394 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/0.6106, allocations: 71.94 kB / 0.6395 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/0.6149, allocations: 1.094 MB / 0.6406 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.615, allocations: 0 / 0.6406 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.6153, allocations: 32 kB / 0.6406 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.6153, allocations: 16 kB / 0.6406 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.619, allocations: 1.031 MB / 0.6416 GB, free: 4.789 MB / 446.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.00892/0.628, allocations: 3.06 MB / 0.6446 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.6322, allocations: 1.565 MB / 0.6461 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.6343, allocations: 0.758 MB / 0.6469 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.6345, allocations: 16.98 kB / 0.6469 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6346, allocations: 39.56 kB / 0.6469 GB, free: 15.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 4.067e-06/0.6346, allocations: 0 / 0.6469 GB, free: 15.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.04031/0.6749, allocations: 7.476 MB / 0.6542 GB, free: 7.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.675, allocations: 60.41 kB / 0.6543 GB, free: 7.496 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.6766, allocations: 0.8513 MB / 0.6551 GB, free: 6.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/0.6769, allocations: 41.7 kB / 0.6552 GB, free: 6.574 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.6773, allocations: 452.5 kB / 0.6556 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.6778, allocations: 323.3 kB / 0.6559 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.6783, allocations: 202.8 kB / 0.6561 GB, free: 5.598 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6785, allocations: 349.9 kB / 0.6564 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.6807, allocations: 0.6936 MB / 0.6571 GB, free: 4.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.6831, allocations: 0.8142 MB / 0.6579 GB, free: 3.715 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.6865, allocations: 1.501 MB / 0.6594 GB, free: 2.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.6865, allocations: 0 / 0.6594 GB, free: 2.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01922/0.7058, allocations: 4.355 MB / 0.6636 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.7059, allocations: 4 kB / 0.6636 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.7059, allocations: 4 kB / 0.6636 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/0.7133, allocations: 1.893 MB / 0.6655 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/0.7143, allocations: 175.7 kB / 0.6656 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02625/0.7406, allocations: 9.955 MB / 0.6754 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.7427, allocations: 166.9 kB / 0.6755 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.743, allocations: 36 kB / 0.6756 GB, free: 1.434 MB / 478.1 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.0007021/0.7437, allocations: 225.7 kB / 0.6758 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.7441, allocations: 114.6 kB / 0.6759 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/0.7615, allocations: 4.053 MB / 0.6798 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.7615, allocations: 8 kB / 0.6798 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7616, allocations: 0 / 0.6798 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/0.7616, allocations: 3.984 kB / 0.6798 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/0.7819, allocations: 5.625 MB / 0.6853 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/0.7819, allocations: 7.938 kB / 0.6853 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.7827, allocations: 99.83 kB / 0.6854 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008877/0.7916, allocations: 1.835 MB / 0.6872 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/0.792, allocations: 16 kB / 0.6872 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03438/0.8264, allocations: 8.627 MB / 0.6957 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/0.8265, allocations: 11.92 kB / 0.6957 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02855/0.8551, allocations: 4.963 MB / 0.7005 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006511/0.8558, allocations: 191.6 kB / 0.7007 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/0.8563, allocations: 19.98 kB / 0.7007 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.858, allocations: 95.89 kB / 0.7008 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/0.8592, allocations: 204.7 kB / 0.701 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.8595, allocations: 16 kB / 0.701 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001374/0.8608, allocations: 0.5706 MB / 0.7016 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8609, allocations: 0 / 0.7016 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002461/0.8633, allocations: 435.6 kB / 0.702 GB, free: 5.973 MB / 0.4981 GB 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.000451/0.8638, allocations: 139 kB / 0.7021 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01132/0.8751, allocations: 2.451 MB / 0.7045 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8752, allocations: 0 / 0.7045 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007843/0.8831, allocations: 1.572 MB / 0.7061 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.885, allocations: 87.38 kB / 0.7062 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/0.8923, allocations: 2.006 MB / 0.7081 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8934, allocations: 1.049 MB / 0.7091 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.8941, allocations: 75.36 kB / 0.7092 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of SimCode: time 1.253e-06/0.8941, allocations: 0 / 0.7092 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.0454/0.9395, allocations: 19.09 MB / 0.7278 GB, free: 11.38 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)