Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 103.8 kB / 16.41 MB, free: 6.016 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.372/1.372, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001633/0.001633, allocations: 188.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5327/0.5327, allocations: 91.91 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 72.69 kB / 0.5734 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 71.29 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008548/0.1422, allocations: 7.01 MB / 0.6499 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.147, allocations: 2.121 MB / 0.6519 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1483, allocations: 15.94 kB / 0.6519 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1495, allocations: 245.8 kB / 0.6522 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.1523, allocations: 0.787 MB / 0.6529 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.1544, allocations: 0.7499 MB / 0.6537 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.1568, allocations: 1.729 MB / 0.6554 GB, free: 6.887 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.1575, allocations: 399.6 kB / 0.6557 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1585, allocations: 0.708 MB / 0.6564 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009464/0.1595, allocations: 0.836 MB / 0.6573 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.1597, allocations: 132 kB / 0.6574 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.1603, allocations: 267.9 kB / 0.6576 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.1606, allocations: 342.6 kB / 0.658 GB, free: 4.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.1612, allocations: 0.7185 MB / 0.6587 GB, free: 3.473 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.1632, allocations: 1.822 MB / 0.6604 GB, free: 1.645 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1632, allocations: 0 / 0.6604 GB, free: 1.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1632, allocations: 0 / 0.6604 GB, free: 1.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.1633, allocations: 4 kB / 0.6604 GB, free: 1.641 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009046/0.1723, allocations: 2.832 MB / 0.6632 GB, free: 14.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1724, allocations: 12.03 kB / 0.6632 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/0.1773, allocations: 0.8059 MB / 0.664 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.1792, allocations: 0.9217 MB / 0.6649 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.1795, allocations: 331.5 kB / 0.6652 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.1798, allocations: 96 kB / 0.6653 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.1824, allocations: 1.287 MB / 0.6666 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1824, allocations: 0 / 0.6666 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1825, allocations: 36 kB / 0.6666 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.1826, allocations: 20 kB / 0.6666 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.1852, allocations: 1.202 MB / 0.6678 GB, free: 9.91 MB / 478.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.007559/0.1928, allocations: 4.195 MB / 0.6719 GB, free: 5.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.1961, allocations: 1.766 MB / 0.6736 GB, free: 3.656 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.1979, allocations: 0.8602 MB / 0.6745 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.198, allocations: 12.98 kB / 0.6745 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.1999, allocations: 0.9682 MB / 0.6754 GB, free: 1.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.156e-06/0.1999, allocations: 0 / 0.6754 GB, free: 1.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03193/0.2318, allocations: 7.757 MB / 0.683 GB, free: 9.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.232, allocations: 115.8 kB / 0.6831 GB, free: 9.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.2335, allocations: 1.033 MB / 0.6841 GB, free: 8.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.2338, allocations: 45.7 kB / 0.6842 GB, free: 8.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.2343, allocations: 0.5284 MB / 0.6847 GB, free: 8.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.2347, allocations: 394.4 kB / 0.6851 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.2352, allocations: 251.4 kB / 0.6853 GB, free: 7.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2354, allocations: 357.9 kB / 0.6856 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.2371, allocations: 0.7808 MB / 0.6864 GB, free: 6.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.2389, allocations: 0.9444 MB / 0.6873 GB, free: 5.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02201/0.2609, allocations: 5.485 MB / 0.6927 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.261, allocations: 3.938 kB / 0.6927 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01398/0.2749, allocations: 4.456 MB / 0.697 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.2751, allocations: 59.41 kB / 0.6971 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.2751, allocations: 4 kB / 0.6971 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00598/0.2811, allocations: 1.741 MB / 0.6988 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.2826, allocations: 279.6 kB / 0.6991 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.3037, allocations: 9.028 MB / 0.7079 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.3058, allocations: 210.8 kB / 0.7081 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.3059, allocations: 47.98 kB / 0.7081 GB, free: 15.85 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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.0006757/0.3066, allocations: 303.6 kB / 0.7084 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.3069, allocations: 134.4 kB / 0.7085 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/0.3221, allocations: 4.393 MB / 0.7128 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.3221, allocations: 12 kB / 0.7128 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3221, allocations: 0 / 0.7128 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/0.3222, allocations: 7.969 kB / 0.7128 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.3402, allocations: 6.283 MB / 0.719 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.3402, allocations: 0 / 0.719 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.341, allocations: 123.9 kB / 0.7191 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006645/0.3477, allocations: 1.903 MB / 0.721 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.3479, allocations: 24 kB / 0.721 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/0.3721, allocations: 10.71 MB / 0.7314 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3721, allocations: 3.938 kB / 0.7314 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/0.3893, allocations: 5.429 MB / 0.7367 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/0.3899, allocations: 223.2 kB / 0.737 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3901, allocations: 20 kB / 0.737 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.3915, allocations: 139.8 kB / 0.7371 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007503/0.3923, allocations: 240.7 kB / 0.7373 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/0.3924, allocations: 31.94 kB / 0.7374 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001087/0.3934, allocations: 0.7045 MB / 0.7381 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3935, allocations: 0 / 0.7381 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001487/0.395, allocations: 495.4 kB / 0.7385 GB, free: 168 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002951/0.3953, allocations: 132.6 kB / 0.7387 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007306/0.4026, allocations: 2.734 MB / 0.7413 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.4026, allocations: 64 / 0.7413 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.408, allocations: 1.888 MB / 0.7432 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.4092, allocations: 127.4 kB / 0.7433 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.4144, allocations: 2.508 MB / 0.7457 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007303/0.4152, allocations: 1.159 MB / 0.7469 GB, free: 7.477 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.4156, allocations: 83.42 kB / 0.747 GB, free: 7.395 MB / 0.545 GB Notification: Performance of SimCode: time 2.575e-06/0.4156, allocations: 0 / 0.747 GB, free: 7.395 MB / 0.545 GB Notification: Performance of Templates: time 0.315/0.7306, allocations: 25.42 MB / 0.7718 GB, free: 116.3 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)