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.0008119/0.0008121, allocations: 176.9 kB / 15.42 MB, free: 6.207 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.214/1.214, allocations: 222.9 MB / 239 MB, free: 80 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.0007167/0.0007167, allocations: 93.98 kB / 289.8 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3055/0.3055, allocations: 78.44 MB / 419 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003805, allocations: 12.38 kB / 498.4 MB, free: 35.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 68.75 MB / 0.5539 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.005069/0.3238, allocations: 5.51 MB / 0.5593 GB, free: 6.871 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.3268, allocations: 1.786 MB / 0.561 GB, free: 5.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.3273, allocations: 7.625 kB / 0.561 GB, free: 5.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.3277, allocations: 124.2 kB / 0.5611 GB, free: 5.555 MB / 378.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.001357/0.3291, allocations: 0.5966 MB / 0.5617 GB, free: 5.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.33, allocations: 476.7 kB / 0.5622 GB, free: 4.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3311, allocations: 1.128 MB / 0.5633 GB, free: 4.316 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.3314, allocations: 216.9 kB / 0.5635 GB, free: 4.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.3319, allocations: 422.1 kB / 0.5639 GB, free: 4.012 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.3325, allocations: 0.5292 MB / 0.5644 GB, free: 3.777 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3327, allocations: 53.62 kB / 0.5644 GB, free: 3.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.3331, allocations: 179.2 kB / 0.5646 GB, free: 3.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.3333, allocations: 188.4 kB / 0.5648 GB, free: 3.621 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.3336, allocations: 447.9 kB / 0.5652 GB, free: 3.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3349, allocations: 1.303 MB / 0.5665 GB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3349, allocations: 0 / 0.5665 GB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3349, allocations: 5.25 kB / 0.5665 GB, free: 2.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.335, allocations: 0 / 0.5665 GB, free: 2.895 MB / 378.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.00511/0.3401, allocations: 1.664 MB / 0.5681 GB, free: 2.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3401, allocations: 9.375 kB / 0.5681 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.3435, allocations: 0.5323 MB / 0.5687 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/0.3445, allocations: 0.6863 MB / 0.5693 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.3446, allocations: 148.9 kB / 0.5695 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.3447, allocations: 55.44 kB / 0.5695 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.3463, allocations: 0.7862 MB / 0.5703 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3463, allocations: 3.938 kB / 0.5703 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.3464, allocations: 19.56 kB / 0.5703 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3464, allocations: 13.91 kB / 0.5703 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3477, allocations: 0.6869 MB / 0.571 GB, free: 0.7305 MB / 378.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.004817/0.3525, allocations: 2.902 MB / 0.5738 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.3647, allocations: 2.949 MB / 0.5767 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.3658, allocations: 497.2 kB / 0.5772 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-05/0.3658, allocations: 7.438 kB / 0.5772 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3659, allocations: 42.53 kB / 0.5772 GB, free: 13.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 2.094e-06/0.3659, allocations: 0 / 0.5772 GB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.012/0.3779, allocations: 3.569 MB / 0.5807 GB, free: 11.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.378, allocations: 84.17 kB / 0.5808 GB, free: 11.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3792, allocations: 0.795 MB / 0.5816 GB, free: 10.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.3793, allocations: 40.08 kB / 0.5816 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.3796, allocations: 363.1 kB / 0.582 GB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.3798, allocations: 247 kB / 0.5822 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.38, allocations: 95.03 kB / 0.5823 GB, free: 10.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3801, allocations: 346.7 kB / 0.5826 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3812, allocations: 0.5486 MB / 0.5831 GB, free: 9.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.3823, allocations: 0.6652 MB / 0.5838 GB, free: 9.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.3844, allocations: 1.152 MB / 0.5849 GB, free: 8.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3844, allocations: 0 / 0.5849 GB, free: 8.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007373/0.3918, allocations: 2.506 MB / 0.5874 GB, free: 7.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.3919, allocations: 142.3 kB / 0.5875 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3919, allocations: 6.812 kB / 0.5875 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004018/0.396, allocations: 1.046 MB / 0.5885 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/0.3969, allocations: 175.7 kB / 0.5887 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009304/0.4062, allocations: 4.712 MB / 0.5933 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4076, allocations: 123.1 kB / 0.5934 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.4077, allocations: 35.98 kB / 0.5935 GB, free: 2.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.435e-06/0.4077, allocations: 8 kB / 0.5935 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006665/0.4144, allocations: 2.387 MB / 0.5958 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4144, allocations: 0 / 0.5958 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00392/0.4183, allocations: 1.046 MB / 0.5968 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.4192, allocations: 167.8 kB / 0.597 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009713/0.4289, allocations: 4.72 MB / 0.6016 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.4307, allocations: 103.3 kB / 0.6017 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.4311, allocations: 35.98 kB / 0.6017 GB, free: 9.637 MB / 410.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009252/0.432, allocations: 296.9 kB / 0.602 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/0.4325, allocations: 82.97 kB / 0.6021 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006387/0.4389, allocations: 2.032 MB / 0.6041 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4389, allocations: 8 kB / 0.6041 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/0.439, allocations: 7.938 kB / 0.6041 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.439, allocations: 3.984 kB / 0.6041 GB, free: 7.176 MB / 410.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.008202/0.4472, allocations: 3.311 MB / 0.6073 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4472, allocations: 4 kB / 0.6073 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.4478, allocations: 79.89 kB / 0.6074 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/0.4509, allocations: 0.937 MB / 0.6083 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.451, allocations: 16 kB / 0.6083 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007518/0.4586, allocations: 3.805 MB / 0.612 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4586, allocations: 0 / 0.612 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007071/0.4657, allocations: 2.662 MB / 0.6146 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.466, allocations: 179.9 kB / 0.6148 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.4662, allocations: 12 kB / 0.6148 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008459/0.4671, allocations: 63.94 kB / 0.6149 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.4674, allocations: 120.3 kB / 0.615 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.4675, allocations: 16.09 kB / 0.615 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007495/0.4683, allocations: 0.5419 MB / 0.6155 GB, free: 11.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4683, allocations: 384 / 0.6155 GB, free: 11.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001673/0.47, allocations: 0.5189 MB / 0.6161 GB, free: 10.63 MB / 426.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002536/0.4702, allocations: 131.1 kB / 0.6162 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007761/0.478, allocations: 3.238 MB / 0.6193 GB, free: 7.141 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.478, allocations: 3.938 kB / 0.6193 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002881/0.4809, allocations: 1.131 MB / 0.6204 GB, free: 5.953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.482, allocations: 73.38 kB / 0.6205 GB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.4859, allocations: 2.089 MB / 0.6226 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.4865, allocations: 0.9718 MB / 0.6235 GB, free: 2.766 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005048/0.487, allocations: 89.45 kB / 0.6236 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.4872, allocations: 55.42 kB / 0.6236 GB, free: 2.621 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4872, allocations: 3.938 kB / 0.6236 GB, free: 2.617 MB / 426.7 MB Notification: Performance of Templates: time 0.02846/0.5157, allocations: 18.22 MB / 0.6414 GB, free: 428 kB / 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)