Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9098/0.9098, allocations: 177.2 MB / 200 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 168.5 kB / 256.6 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.3014/0.3014, allocations: 83.28 MB / 396.4 MB, free: 15.2 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 493.9 MB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.945e-05, allocations: 2.312 kB / 493.9 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00512/0.005139, allocations: 6.241 MB / 0.4884 GB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.008003, allocations: 1.957 MB / 0.4903 GB, free: 15.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.008519, allocations: 15.94 kB / 0.4903 GB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.008941, allocations: 227.8 kB / 0.4906 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.01025, allocations: 0.7987 MB / 0.4913 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008812/0.01113, allocations: 0.6386 MB / 0.492 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.0122, allocations: 1.479 MB / 0.4934 GB, free: 11.97 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.01249, allocations: 221.9 kB / 0.4936 GB, free: 11.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.0133, allocations: 0.8493 MB / 0.4945 GB, free: 10.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.01383, allocations: 0.5706 MB / 0.495 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.01395, allocations: 103.9 kB / 0.4951 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.0143, allocations: 251.8 kB / 0.4953 GB, free: 9.977 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.01446, allocations: 286.6 kB / 0.4956 GB, free: 9.695 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.01471, allocations: 418.6 kB / 0.496 GB, free: 9.285 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009958/0.01571, allocations: 1.168 MB / 0.4972 GB, free: 8.113 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01571, allocations: 11.94 kB / 0.4972 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01571, allocations: 0.7812 kB / 0.4972 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.01573, allocations: 0 / 0.4972 GB, free: 8.102 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003922/0.01965, allocations: 2.655 MB / 0.4998 GB, free: 5.438 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.01969, allocations: 9.281 kB / 0.4998 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.02233, allocations: 0.9577 MB / 0.5007 GB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.0231, allocations: 0.7353 MB / 0.5014 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.0233, allocations: 303.6 kB / 0.5017 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.02341, allocations: 79.98 kB / 0.5018 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009959/0.0244, allocations: 0.6794 MB / 0.5025 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.02442, allocations: 0 / 0.5025 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.02449, allocations: 32 kB / 0.5025 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.02451, allocations: 27.94 kB / 0.5025 GB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/0.02532, allocations: 479.6 kB / 0.503 GB, free: 2.051 MB / 426.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.00317/0.02849, allocations: 2.358 MB / 0.5053 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.02922, allocations: 0.5105 MB / 0.5058 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.02966, allocations: 331.1 kB / 0.5061 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.02974, allocations: 17 kB / 0.5061 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.02977, allocations: 54.33 kB / 0.5062 GB, free: 14.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.164e-06/0.02977, allocations: 0 / 0.5062 GB, free: 14.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.009956/0.03973, allocations: 4.507 MB / 0.5106 GB, free: 10.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.03977, allocations: 68.34 kB / 0.5106 GB, free: 10.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.04047, allocations: 0.8796 MB / 0.5115 GB, free: 9.223 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.04054, allocations: 41.7 kB / 0.5115 GB, free: 9.176 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.04082, allocations: 0.551 MB / 0.5121 GB, free: 8.621 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.04105, allocations: 368.8 kB / 0.5124 GB, free: 8.258 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.0413, allocations: 216.5 kB / 0.5126 GB, free: 8.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.04144, allocations: 0.5199 MB / 0.5131 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.04191, allocations: 306.5 kB / 0.5134 GB, free: 7.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.04247, allocations: 479.1 kB / 0.5139 GB, free: 6.707 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.04398, allocations: 1.195 MB / 0.515 GB, free: 5.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.04398, allocations: 0 / 0.515 GB, free: 5.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005325/0.04931, allocations: 2.844 MB / 0.5178 GB, free: 2.609 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.04932, allocations: 7.938 kB / 0.5178 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.04933, allocations: 4 kB / 0.5178 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004723/0.05406, allocations: 1.787 MB / 0.5196 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.05458, allocations: 207.7 kB / 0.5198 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/0.06139, allocations: 4.696 MB / 0.5244 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.06199, allocations: 155.2 kB / 0.5245 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.06205, allocations: 39.98 kB / 0.5245 GB, free: 11.59 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real 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 (113): * Single equations (assignments): 112 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003463/0.0624, allocations: 220.3 kB / 0.5248 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.06255, allocations: 155.2 kB / 0.5249 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.06725, allocations: 2.624 MB / 0.5275 GB, free: 8.574 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.06725, allocations: 12 kB / 0.5275 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.06726, allocations: 0 / 0.5275 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.06726, allocations: 15.95 kB / 0.5275 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/0.07283, allocations: 3.512 MB / 0.5309 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.07283, allocations: 3.938 kB / 0.5309 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.07315, allocations: 119.9 kB / 0.531 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004599/0.07775, allocations: 1.814 MB / 0.5328 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.07782, allocations: 28 kB / 0.5328 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/0.08403, allocations: 4.307 MB / 0.537 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.08403, allocations: 0 / 0.537 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/0.08962, allocations: 3.025 MB / 0.54 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.08978, allocations: 142.9 kB / 0.5401 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/0.08988, allocations: 16 kB / 0.5402 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.09037, allocations: 83.92 kB / 0.5402 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/0.09075, allocations: 224.5 kB / 0.5404 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.0908, allocations: 20 kB / 0.5405 GB, free: 11.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004507/0.09125, allocations: 0.5499 MB / 0.541 GB, free: 10.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09125, allocations: 0 / 0.541 GB, free: 10.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009971/0.09224, allocations: 443.6 kB / 0.5414 GB, free: 10.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0002479/0.09249, allocations: 139.1 kB / 0.5416 GB, free: 9.914 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.09521, allocations: 1.61 MB / 0.5431 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09521, allocations: 0.5625 kB / 0.5431 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.09708, allocations: 1.163 MB / 0.5443 GB, free: 7.098 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.09751, allocations: 108.3 kB / 0.5444 GB, free: 6.988 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1003, allocations: 1.937 MB / 0.5463 GB, free: 5.016 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.1004, allocations: 232 kB / 0.5465 GB, free: 4.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.1006, allocations: 94.75 kB / 0.5466 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.1008, allocations: 72.42 kB / 0.5466 GB, free: 4.602 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1008, allocations: 0 / 0.5466 GB, free: 4.602 MB / 474.7 MB Notification: Performance of Templates: time 0.02749/0.1283, allocations: 26.43 MB / 0.5725 GB, free: 10.2 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.950285686645657]