Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 172.7 kB / 15.77 MB, free: 6.328 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.383/1.383, allocations: 223.3 MB / 239.8 MB, free: 8 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.000817, allocations: 94.78 kB / 290.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6425/0.6425, allocations: 78.62 MB / 420.7 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 12 kB / 0.4888 GB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 69.36 MB / 0.5565 GB, free: 1.855 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004991/0.1675, allocations: 4.79 MB / 0.5612 GB, free: 13.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.1714, allocations: 1.678 MB / 0.5628 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.1722, allocations: 8 kB / 0.5628 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.1726, allocations: 123.1 kB / 0.563 GB, free: 11.23 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1741, allocations: 0.5212 MB / 0.5635 GB, free: 10.71 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009734/0.1751, allocations: 402.5 kB / 0.5639 GB, free: 10.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.1764, allocations: 1.067 MB / 0.5649 GB, free: 9.254 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.1768, allocations: 198.8 kB / 0.5651 GB, free: 9.035 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.1774, allocations: 398.3 kB / 0.5655 GB, free: 8.645 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.178, allocations: 0.5173 MB / 0.566 GB, free: 8.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1781, allocations: 48 kB / 0.566 GB, free: 8.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.1786, allocations: 163.9 kB / 0.5662 GB, free: 7.918 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1788, allocations: 191.1 kB / 0.5664 GB, free: 7.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.179, allocations: 177.2 kB / 0.5665 GB, free: 7.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.18, allocations: 1.048 MB / 0.5675 GB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1801, allocations: 0 / 0.5675 GB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1801, allocations: 4 kB / 0.5675 GB, free: 6.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.1801, allocations: 0 / 0.5675 GB, free: 6.496 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.006118/0.1862, allocations: 1.718 MB / 0.5692 GB, free: 4.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1863, allocations: 12.03 kB / 0.5692 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/0.1898, allocations: 0.5296 MB / 0.5698 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.191, allocations: 0.6514 MB / 0.5704 GB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.1913, allocations: 146.4 kB / 0.5705 GB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.1914, allocations: 67.89 kB / 0.5706 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1931, allocations: 0.8227 MB / 0.5714 GB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1932, allocations: 0 / 0.5714 GB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.1933, allocations: 31.94 kB / 0.5714 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1933, allocations: 12 kB / 0.5714 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1948, allocations: 0.7235 MB / 0.5721 GB, free: 1.66 MB / 442.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.3282/0.523, allocations: 2.943 MB / 0.575 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/0.5374, allocations: 3.939 MB / 0.5789 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.5386, allocations: 0.5177 MB / 0.5794 GB, free: 40.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.5387, allocations: 9.672 kB / 0.5794 GB, free: 40.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5388, allocations: 42.47 kB / 0.5794 GB, free: 40.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 2.474e-06/0.5388, allocations: 0 / 0.5794 GB, free: 40.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.01489/0.5537, allocations: 4.234 MB / 0.5836 GB, free: 39.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.5538, allocations: 84.95 kB / 0.5836 GB, free: 39.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.555, allocations: 0.7873 MB / 0.5844 GB, free: 39.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.5552, allocations: 40.89 kB / 0.5844 GB, free: 39.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.5554, allocations: 372 kB / 0.5848 GB, free: 39.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.5557, allocations: 237.1 kB / 0.585 GB, free: 39.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.5557, allocations: 20.34 kB / 0.585 GB, free: 39.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.5558, allocations: 343.8 kB / 0.5854 GB, free: 39.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.557, allocations: 0.5839 MB / 0.5859 GB, free: 39.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.5584, allocations: 0.7004 MB / 0.5866 GB, free: 39.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.5596, allocations: 0.6324 MB / 0.5872 GB, free: 39.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5597, allocations: 0 / 0.5872 GB, free: 39.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008665/0.5683, allocations: 2.867 MB / 0.59 GB, free: 38.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.5686, allocations: 148.8 kB / 0.5902 GB, free: 38.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5686, allocations: 5.438 kB / 0.5902 GB, free: 38.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/0.5735, allocations: 1.198 MB / 0.5914 GB, free: 38.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5746, allocations: 175.1 kB / 0.5915 GB, free: 38.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.585, allocations: 5.113 MB / 0.5965 GB, free: 37.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.5865, allocations: 136.9 kB / 0.5967 GB, free: 37.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.5866, allocations: 35.27 kB / 0.5967 GB, free: 37.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5866, allocations: 3.219 kB / 0.5967 GB, free: 37.09 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007452/0.5941, allocations: 2.729 MB / 0.5994 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5941, allocations: 6.781 kB / 0.5994 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/0.5983, allocations: 1.203 MB / 0.6005 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.5993, allocations: 165.7 kB / 0.6007 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/0.6086, allocations: 5.097 MB / 0.6057 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.6098, allocations: 127.7 kB / 0.6058 GB, free: 33.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.6099, allocations: 32.55 kB / 0.6058 GB, free: 33.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000445/0.6103, allocations: 304.2 kB / 0.6061 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6105, allocations: 84.09 kB / 0.6062 GB, free: 33.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006274/0.6168, allocations: 2.396 MB / 0.6085 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.6168, allocations: 7.562 kB / 0.6085 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6168, allocations: 4.062 kB / 0.6085 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6168, allocations: 3.516 kB / 0.6085 GB, free: 32.73 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.008652/0.6255, allocations: 3.664 MB / 0.6121 GB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6255, allocations: 2.031 kB / 0.6121 GB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.6262, allocations: 84.56 kB / 0.6122 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/0.6298, allocations: 1.093 MB / 0.6133 GB, free: 31.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.63, allocations: 17.64 kB / 0.6133 GB, free: 31.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008166/0.6381, allocations: 4.125 MB / 0.6173 GB, free: 28.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6382, allocations: 5.562 kB / 0.6173 GB, free: 28.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008398/0.6466, allocations: 3.057 MB / 0.6203 GB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.647, allocations: 187.7 kB / 0.6205 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.6473, allocations: 12.78 kB / 0.6205 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6484, allocations: 79.86 kB / 0.6206 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/0.6488, allocations: 128.5 kB / 0.6207 GB, free: 27.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.6489, allocations: 15.84 kB / 0.6207 GB, free: 27.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008614/0.6498, allocations: 0.5354 MB / 0.6212 GB, free: 27.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6498, allocations: 0 / 0.6212 GB, free: 27.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002277/0.6521, allocations: 0.526 MB / 0.6218 GB, free: 27.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003007/0.6524, allocations: 123.5 kB / 0.6219 GB, free: 27.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008886/0.6613, allocations: 3.535 MB / 0.6253 GB, free: 25.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6613, allocations: 0 / 0.6253 GB, free: 25.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.6646, allocations: 1.266 MB / 0.6266 GB, free: 25.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6656, allocations: 74.97 kB / 0.6266 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.67, allocations: 2.167 MB / 0.6287 GB, free: 23.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.6706, allocations: 0.9792 MB / 0.6297 GB, free: 23.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.671, allocations: 59.88 kB / 0.6298 GB, free: 23.06 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.671, allocations: 0 / 0.6298 GB, free: 23.06 MB / 442.7 MB Notification: Performance of Templates: time 0.02659/0.6976, allocations: 22.53 MB / 0.6518 GB, free: 5.223 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)