Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.382/1.382, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001424/0.001425, allocations: 192.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4771/0.4771, allocations: 78.53 MB / 419.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 83.88 kB / 0.5543 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3493, allocations: 68.17 MB / 0.6209 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.005005/0.3543, allocations: 5.239 MB / 0.626 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.3576, allocations: 1.751 MB / 0.6277 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.3582, allocations: 8 kB / 0.6277 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.3586, allocations: 166.5 kB / 0.6279 GB, free: 3.082 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001446/0.3601, allocations: 0.69 MB / 0.6285 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.361, allocations: 0.4914 MB / 0.629 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.3619, allocations: 1.215 MB / 0.6302 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3622, allocations: 242.4 kB / 0.6304 GB, free: 448 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.3627, allocations: 498 kB / 0.6309 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006927/0.3634, allocations: 0.5952 MB / 0.6315 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.3635, allocations: 112 kB / 0.6316 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.364, allocations: 247.9 kB / 0.6318 GB, free: 15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.3642, allocations: 259 kB / 0.6321 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.3647, allocations: 0.5051 MB / 0.6326 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.3661, allocations: 1.396 MB / 0.6339 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3661, allocations: 4 kB / 0.6339 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3661, allocations: 0 / 0.6339 GB, free: 12.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.3661, allocations: 0 / 0.6339 GB, free: 12.84 MB / 446.1 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.005901/0.372, allocations: 1.858 MB / 0.6357 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3721, allocations: 8.031 kB / 0.6358 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.3757, allocations: 0.5187 MB / 0.6363 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3769, allocations: 0.6937 MB / 0.6369 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.3771, allocations: 146.4 kB / 0.6371 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3773, allocations: 59.91 kB / 0.6371 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.379, allocations: 0.7876 MB / 0.6379 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.379, allocations: 0 / 0.6379 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.3791, allocations: 20 kB / 0.6379 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3791, allocations: 15.94 kB / 0.6379 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.3806, allocations: 0.6922 MB / 0.6386 GB, free: 7.906 MB / 446.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.005331/0.3859, allocations: 2.882 MB / 0.6414 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/0.3989, allocations: 2.954 MB / 0.6443 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.4001, allocations: 494.3 kB / 0.6448 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/0.4002, allocations: 12.53 kB / 0.6448 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4003, allocations: 43.12 kB / 0.6448 GB, free: 1.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 3.817e-06/0.4003, allocations: 0 / 0.6448 GB, free: 1.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.0131/0.4134, allocations: 3.562 MB / 0.6483 GB, free: 13.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4135, allocations: 81.67 kB / 0.6484 GB, free: 13.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4149, allocations: 0.786 MB / 0.6492 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.415, allocations: 41.7 kB / 0.6492 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.4154, allocations: 372.5 kB / 0.6496 GB, free: 12.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.4157, allocations: 240.6 kB / 0.6498 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/0.4161, allocations: 190.4 kB / 0.65 GB, free: 11.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4163, allocations: 345.9 kB / 0.6503 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4174, allocations: 0.5552 MB / 0.6508 GB, free: 11.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.4186, allocations: 0.6586 MB / 0.6515 GB, free: 10.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.4209, allocations: 1.154 MB / 0.6526 GB, free: 9.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4209, allocations: 0 / 0.6526 GB, free: 9.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0077/0.4286, allocations: 2.509 MB / 0.6551 GB, free: 6.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.4287, allocations: 8 kB / 0.6551 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4287, allocations: 0 / 0.6551 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/0.4332, allocations: 1.049 MB / 0.6561 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4343, allocations: 171.8 kB / 0.6563 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.4457, allocations: 5.076 MB / 0.6612 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4472, allocations: 123 kB / 0.6613 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.4474, allocations: 32 kB / 0.6614 GB, free: 68 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001564/0.4489, allocations: 0.6971 MB / 0.662 GB, free: 15.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001264/0.4502, allocations: 0.6508 MB / 0.6627 GB, free: 14.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002262/0.4525, allocations: 1.123 MB / 0.6638 GB, free: 13.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/0.4525, allocations: 0 / 0.6638 GB, free: 13.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007944/0.4605, allocations: 2.481 MB / 0.6662 GB, free: 11.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4605, allocations: 4 kB / 0.6662 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4605, allocations: 4 kB / 0.6662 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/0.4649, allocations: 1.051 MB / 0.6672 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.4659, allocations: 167.7 kB / 0.6674 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.4772, allocations: 5.08 MB / 0.6724 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4787, allocations: 111.2 kB / 0.6725 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.4789, allocations: 32 kB / 0.6725 GB, free: 4.445 MB / 478.1 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.0004416/0.4793, allocations: 232 kB / 0.6727 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.4796, allocations: 82.97 kB / 0.6728 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00671/0.4864, allocations: 2.036 MB / 0.6748 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.4864, allocations: 3.984 kB / 0.6748 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.4864, allocations: 0 / 0.6748 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.4868, allocations: 183.8 kB / 0.675 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.487, allocations: 19.98 kB / 0.675 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.4879, allocations: 63.92 kB / 0.675 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/0.4884, allocations: 180.3 kB / 0.6752 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005167/0.4936, allocations: 1.49 MB / 0.6767 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003298/0.4969, allocations: 1.611 MB / 0.6782 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009109/0.4979, allocations: 400.3 kB / 0.6786 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007762/0.4986, allocations: 0.5381 MB / 0.6791 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Backend: time 9.82e-07/0.4987, allocations: 4 kB / 0.6791 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008713/0.5074, allocations: 2.99 MB / 0.6821 GB, free: 10.43 MB / 494.1 MB Notification: Performance of SimCode: time 0.003099/0.5105, allocations: 2.19 MB / 0.6842 GB, free: 8.195 MB / 494.1 MB Notification: Performance of Templates: time 0.03861/0.5491, allocations: 23.93 MB / 0.7076 GB, free: 300 kB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)