Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.001359/0.001359, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 239.2 MB, free: 4.574 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.001422/0.001422, allocations: 188.5 kB / 289.5 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5001/0.5001, allocations: 91.9 MB / 431.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 79.88 kB / 0.5019 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3425, allocations: 71.27 MB / 0.5715 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005389/0.3479, allocations: 6.046 MB / 0.5774 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.3513, allocations: 1.796 MB / 0.5791 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005909/0.3519, allocations: 13.22 kB / 0.5791 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.3523, allocations: 211.8 kB / 0.5793 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.3539, allocations: 0.6974 MB / 0.58 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.355, allocations: 0.586 MB / 0.5806 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3561, allocations: 1.323 MB / 0.5819 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.3565, allocations: 293.3 kB / 0.5822 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.3572, allocations: 0.5573 MB / 0.5827 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.3578, allocations: 0.6857 MB / 0.5834 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.358, allocations: 96.44 kB / 0.5835 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.3585, allocations: 238 kB / 0.5837 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.3587, allocations: 273 kB / 0.584 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.3591, allocations: 0.5772 MB / 0.5845 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.3603, allocations: 1.421 MB / 0.5859 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3603, allocations: 0 / 0.5859 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3603, allocations: 0 / 0.5859 GB, free: 28.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.3604, allocations: 0 / 0.5859 GB, free: 28.43 MB / 430.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.007662/0.368, allocations: 2.452 MB / 0.5883 GB, free: 27.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3681, allocations: 9.406 kB / 0.5883 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.373, allocations: 0.7592 MB / 0.5891 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3741, allocations: 0.7417 MB / 0.5898 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.3744, allocations: 258 kB / 0.59 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.3745, allocations: 71.47 kB / 0.5901 GB, free: 26.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.3766, allocations: 1.08 MB / 0.5912 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3766, allocations: 1.344 kB / 0.5912 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.3767, allocations: 28.97 kB / 0.5912 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.3767, allocations: 21.55 kB / 0.5912 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.3788, allocations: 1.039 MB / 0.5922 GB, free: 25.62 MB / 430.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.004753/0.3836, allocations: 3.064 MB / 0.5952 GB, free: 23.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.3864, allocations: 1.572 MB / 0.5967 GB, free: 22.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.3878, allocations: 0.753 MB / 0.5975 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.3879, allocations: 10.62 kB / 0.5975 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3879, allocations: 40.84 kB / 0.5975 GB, free: 22.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.966e-06/0.388, allocations: 4 kB / 0.5975 GB, free: 22.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03146/0.4194, allocations: 7.48 MB / 0.6048 GB, free: 21.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.4195, allocations: 62.98 kB / 0.6049 GB, free: 21.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.4211, allocations: 0.8436 MB / 0.6057 GB, free: 20.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.4214, allocations: 41.33 kB / 0.6058 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.4217, allocations: 448 kB / 0.6062 GB, free: 20.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.422, allocations: 334 kB / 0.6065 GB, free: 20.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.4224, allocations: 203.7 kB / 0.6067 GB, free: 20.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.4225, allocations: 354 kB / 0.607 GB, free: 19.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.424, allocations: 0.6897 MB / 0.6077 GB, free: 19.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.4256, allocations: 0.8199 MB / 0.6085 GB, free: 19.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.4286, allocations: 1.494 MB / 0.61 GB, free: 18.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4286, allocations: 1.219 kB / 0.61 GB, free: 18.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0147/0.4433, allocations: 4.358 MB / 0.6142 GB, free: 16.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.4434, allocations: 5.781 kB / 0.6142 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4434, allocations: 2.281 kB / 0.6142 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006687/0.4501, allocations: 1.899 MB / 0.6161 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/0.4511, allocations: 184.5 kB / 0.6163 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.473, allocations: 9.963 MB / 0.626 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4747, allocations: 158.9 kB / 0.6261 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.475, allocations: 43.94 kB / 0.6262 GB, free: 5.988 MB / 430.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.0005783/0.4756, allocations: 229.6 kB / 0.6264 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.4759, allocations: 110.6 kB / 0.6265 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.4888, allocations: 4.057 MB / 0.6305 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.4889, allocations: 8 kB / 0.6305 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4889, allocations: 4 kB / 0.6305 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.4889, allocations: 3.984 kB / 0.6305 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.5051, allocations: 5.64 MB / 0.636 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.5051, allocations: 0 / 0.636 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.5058, allocations: 95.89 kB / 0.6361 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006651/0.5124, allocations: 1.831 MB / 0.6379 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.5127, allocations: 16 kB / 0.6379 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/0.5344, allocations: 8.655 MB / 0.6463 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5344, allocations: 0 / 0.6463 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/0.5508, allocations: 4.958 MB / 0.6512 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.5513, allocations: 195.6 kB / 0.6514 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.5516, allocations: 16 kB / 0.6514 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5528, allocations: 95.89 kB / 0.6515 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/0.5535, allocations: 204.7 kB / 0.6517 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.5536, allocations: 20 kB / 0.6517 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007965/0.5544, allocations: 0.5628 MB / 0.6522 GB, free: 10.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5544, allocations: 0 / 0.6522 GB, free: 10.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001369/0.5558, allocations: 447.5 kB / 0.6527 GB, free: 10.5 MB / 462.1 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.000319/0.5561, allocations: 125.8 kB / 0.6528 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007396/0.5635, allocations: 2.475 MB / 0.6552 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5635, allocations: 7.875 kB / 0.6552 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004971/0.5685, allocations: 1.568 MB / 0.6567 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.5695, allocations: 87.36 kB / 0.6568 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.5733, allocations: 2.002 MB / 0.6588 GB, free: 4.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.5741, allocations: 1.057 MB / 0.6598 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.5744, allocations: 82.77 kB / 0.6599 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.5746, allocations: 67.42 kB / 0.66 GB, free: 2.949 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5746, allocations: 0 / 0.66 GB, free: 2.949 MB / 462.1 MB Notification: Performance of Templates: time 0.03878/0.6134, allocations: 24.15 MB / 0.6835 GB, free: 10.8 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)