Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008348/0.0008349, allocations: 93.86 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06783/0.06783, allocations: 12.6 MB / 321.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2975/0.2975, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.452e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4553, allocations: 99.78 MB / 0.6799 GB, free: 8.203 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4555, allocations: 79.89 kB / 0.6799 GB, free: 8.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05487/0.5104, allocations: 21.2 MB / 0.7006 GB, free: 6.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5104, allocations: 0 / 0.7006 GB, free: 6.684 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.766e-05/0.5105, allocations: 19.94 kB / 0.7007 GB, free: 6.664 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.003192/0.5137, allocations: 1.267 MB / 0.7019 GB, free: 5.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5138, allocations: 8.031 kB / 0.7019 GB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.5161, allocations: 384.7 kB / 0.7023 GB, free: 5.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5172, allocations: 0.6124 MB / 0.7029 GB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.5174, allocations: 134.4 kB / 0.703 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.5175, allocations: 35.94 kB / 0.703 GB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009301/0.5185, allocations: 0.5555 MB / 0.7036 GB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5195, allocations: 0.6076 MB / 0.7042 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5195, allocations: 3.984 kB / 0.7042 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.5196, allocations: 0 / 0.7042 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.5196, allocations: 12 kB / 0.7042 GB, free: 3.625 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004785/0.5244, allocations: 2.79 MB / 0.7069 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.538, allocations: 3.69 MB / 0.7105 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.5386, allocations: 384 kB / 0.7109 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.5386, allocations: 8.125 kB / 0.7109 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.5387, allocations: 38.56 kB / 0.7109 GB, free: 13.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 2.164e-06/0.5387, allocations: 0 / 0.7109 GB, free: 13.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005492/0.5442, allocations: 1.902 MB / 0.7128 GB, free: 12.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.5442, allocations: 93.61 kB / 0.7129 GB, free: 12.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.545, allocations: 0.6189 MB / 0.7135 GB, free: 11.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.5451, allocations: 25.7 kB / 0.7135 GB, free: 11.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.5453, allocations: 385.3 kB / 0.7139 GB, free: 11.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.5455, allocations: 218.2 kB / 0.7141 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.5456, allocations: 0 / 0.7141 GB, free: 11.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5457, allocations: 332.7 kB / 0.7144 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.5462, allocations: 326 kB / 0.7147 GB, free: 10.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.5467, allocations: 417.6 kB / 0.7151 GB, free: 10.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.5472, allocations: 365.1 kB / 0.7154 GB, free: 10.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5473, allocations: 4.031 kB / 0.7154 GB, free: 10.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006242/0.5535, allocations: 2.123 MB / 0.7175 GB, free: 8.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.5538, allocations: 0.6224 MB / 0.7181 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5538, allocations: 0 / 0.7181 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003997/0.5578, allocations: 0.9913 MB / 0.7191 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.5583, allocations: 114.7 kB / 0.7192 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/0.5662, allocations: 4.308 MB / 0.7234 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.5671, allocations: 103.4 kB / 0.7235 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.5672, allocations: 23.62 kB / 0.7235 GB, free: 3.605 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.5672, allocations: 5.406 kB / 0.7235 GB, free: 3.602 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005979/0.5732, allocations: 2 MB / 0.7255 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5732, allocations: 0 / 0.7255 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/0.5771, allocations: 0.9961 MB / 0.7265 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.5776, allocations: 99.7 kB / 0.7266 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/0.5853, allocations: 4.303 MB / 0.7308 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.5862, allocations: 99.38 kB / 0.7309 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.5863, allocations: 26.23 kB / 0.7309 GB, free: 13.71 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.5865, allocations: 120.8 kB / 0.731 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.5867, allocations: 86.91 kB / 0.7311 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/0.5921, allocations: 1.969 MB / 0.733 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5921, allocations: 7.984 kB / 0.733 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5922, allocations: 8 kB / 0.733 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5922, allocations: 4 kB / 0.733 GB, free: 11.9 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0071/0.5993, allocations: 3.193 MB / 0.7361 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5993, allocations: 0 / 0.7361 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.5998, allocations: 83.83 kB / 0.7362 GB, free: 8.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.6027, allocations: 0.8372 MB / 0.737 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.6028, allocations: 15.94 kB / 0.737 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.6085, allocations: 3.274 MB / 0.7402 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6086, allocations: 0 / 0.7402 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006275/0.6148, allocations: 2.526 MB / 0.7427 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.6151, allocations: 183.9 kB / 0.7429 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.6153, allocations: 8 kB / 0.7429 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000847/0.6162, allocations: 67.94 kB / 0.743 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.6165, allocations: 128.3 kB / 0.7431 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.6165, allocations: 23.88 kB / 0.7431 GB, free: 1.527 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006247/0.6172, allocations: 487.2 kB / 0.7436 GB, free: 1.055 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6172, allocations: 4 kB / 0.7436 GB, free: 1.051 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001374/0.6185, allocations: 451.3 kB / 0.744 GB, free: 0.6094 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 0 () * Number of discrete 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.0002596/0.6188, allocations: 135.2 kB / 0.7441 GB, free: 476 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006429/0.6253, allocations: 2.707 MB / 0.7468 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6253, allocations: 0 / 0.7468 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.6278, allocations: 1.109 MB / 0.7479 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.6283, allocations: 50.39 kB / 0.7479 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.6312, allocations: 1.45 MB / 0.7493 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.6318, allocations: 0.9995 MB / 0.7503 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005817/0.6324, allocations: 118.9 kB / 0.7504 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.6325, allocations: 43.42 kB / 0.7505 GB, free: 9.766 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6325, allocations: 0 / 0.7505 GB, free: 9.766 MB / 490.7 MB Notification: Performance of Templates: time 0.02738/0.6599, allocations: 18.35 MB / 0.7684 GB, free: 7.426 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)