Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 174.8 kB / 16.08 MB, free: 5.727 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.292/1.292, allocations: 222.9 MB / 239.7 MB, free: 11.92 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007272/0.0007272, allocations: 100.1 kB / 290.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.435/0.435, allocations: 78.42 MB / 419.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12.22 kB / 499.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004672/0.2812, allocations: 5.507 MB / 0.5599 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.2842, allocations: 1.794 MB / 0.5617 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004757/0.2847, allocations: 8 kB / 0.5617 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.2851, allocations: 127.1 kB / 0.5618 GB, free: 12.75 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.00124/0.2864, allocations: 0.5905 MB / 0.5624 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.2871, allocations: 473.8 kB / 0.5628 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000798/0.2879, allocations: 1.129 MB / 0.5639 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2882, allocations: 210.8 kB / 0.5641 GB, free: 10.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/0.2886, allocations: 418.1 kB / 0.5645 GB, free: 9.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.2891, allocations: 0.5287 MB / 0.565 GB, free: 9.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.527e-05/0.2892, allocations: 52 kB / 0.5651 GB, free: 9.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.2895, allocations: 175.9 kB / 0.5652 GB, free: 9.176 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2897, allocations: 187.1 kB / 0.5654 GB, free: 8.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.2899, allocations: 449.2 kB / 0.5659 GB, free: 8.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.2908, allocations: 1.321 MB / 0.5671 GB, free: 7.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2908, allocations: 0 / 0.5671 GB, free: 7.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2908, allocations: 0 / 0.5671 GB, free: 7.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.2908, allocations: 0 / 0.5671 GB, free: 7.227 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.004676/0.2955, allocations: 1.663 MB / 0.5688 GB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2956, allocations: 8.031 kB / 0.5688 GB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/0.2985, allocations: 0.5305 MB / 0.5693 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008064/0.2993, allocations: 0.6819 MB / 0.57 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.2995, allocations: 150.3 kB / 0.5701 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.2996, allocations: 63.84 kB / 0.5702 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.3008, allocations: 0.7876 MB / 0.5709 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3008, allocations: 0 / 0.5709 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/0.3009, allocations: 23.94 kB / 0.571 GB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.301, allocations: 12 kB / 0.571 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3021, allocations: 0.6883 MB / 0.5716 GB, free: 2.5 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.004261/0.3064, allocations: 2.905 MB / 0.5745 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/0.3184, allocations: 2.932 MB / 0.5773 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.3196, allocations: 496.7 kB / 0.5778 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3197, allocations: 16.48 kB / 0.5778 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3198, allocations: 35.12 kB / 0.5779 GB, free: 11.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 3.857e-06/0.3198, allocations: 0 / 0.5779 GB, free: 11.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.01089/0.3307, allocations: 3.297 MB / 0.5811 GB, free: 8.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3307, allocations: 85.67 kB / 0.5812 GB, free: 8.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.3319, allocations: 0.786 MB / 0.5819 GB, free: 7.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.332, allocations: 41.7 kB / 0.582 GB, free: 7.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.3323, allocations: 372.5 kB / 0.5823 GB, free: 7.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3325, allocations: 236.6 kB / 0.5826 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3327, allocations: 93.66 kB / 0.5826 GB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3328, allocations: 349.9 kB / 0.583 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.3339, allocations: 0.5447 MB / 0.5835 GB, free: 6.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3351, allocations: 0.6586 MB / 0.5842 GB, free: 5.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01762/0.3528, allocations: 4.024 MB / 0.5881 GB, free: 1.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.3528, allocations: 0 / 0.5881 GB, free: 1.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007667/0.3605, allocations: 2.516 MB / 0.5905 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.3606, allocations: 147 kB / 0.5907 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3606, allocations: 4 kB / 0.5907 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004064/0.3647, allocations: 1.04 MB / 0.5917 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009567/0.3657, allocations: 175.7 kB / 0.5919 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009858/0.3755, allocations: 4.707 MB / 0.5965 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.3768, allocations: 123.1 kB / 0.5966 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.377, allocations: 36.14 kB / 0.5966 GB, free: 8.363 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.377, allocations: 4 kB / 0.5966 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007003/0.384, allocations: 2.379 MB / 0.5989 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.384, allocations: 11.92 kB / 0.599 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00395/0.388, allocations: 1.047 MB / 0.6 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.3888, allocations: 171.7 kB / 0.6001 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009592/0.3984, allocations: 4.706 MB / 0.6047 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.3996, allocations: 99.28 kB / 0.6048 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.3998, allocations: 35.98 kB / 0.6049 GB, free: 15.75 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real 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.0006304/0.4004, allocations: 306.9 kB / 0.6052 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.4007, allocations: 90.89 kB / 0.6052 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/0.4067, allocations: 2.035 MB / 0.6072 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4067, allocations: 7.984 kB / 0.6072 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4068, allocations: 0 / 0.6072 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.407, allocations: 187.8 kB / 0.6074 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4072, allocations: 12 kB / 0.6074 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.408, allocations: 59.92 kB / 0.6075 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004157/0.4084, allocations: 180.2 kB / 0.6077 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004607/0.4131, allocations: 1.496 MB / 0.6091 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002847/0.4159, allocations: 1.6 MB / 0.6107 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008049/0.4167, allocations: 404.3 kB / 0.6111 GB, free: 9.312 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007042/0.4174, allocations: 0.538 MB / 0.6116 GB, free: 8.777 MB / 426.7 MB Notification: Performance of Backend: time 4.61e-07/0.4175, allocations: 0 / 0.6116 GB, free: 8.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007642/0.4251, allocations: 2.985 MB / 0.6145 GB, free: 5.676 MB / 426.7 MB Notification: Performance of SimCode: time 0.002788/0.4279, allocations: 2.483 MB / 0.6169 GB, free: 3.145 MB / 426.7 MB Notification: Performance of Templates: time 0.03321/0.4611, allocations: 21.74 MB / 0.6382 GB, free: 13.44 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)