Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.5 MB / 229.6 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 104.1 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4329/0.4329, allocations: 78.12 MB / 409.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.609e-05, allocations: 7.938 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 69.36 MB / 0.5413 GB, free: 6.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4606, allocations: 98.2 MB / 0.6372 GB, free: 1.512 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4608, allocations: 80.8 kB / 0.6373 GB, free: 1.434 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05823/0.5191, allocations: 21.84 MB / 0.6586 GB, free: 11.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5191, allocations: 0 / 0.6586 GB, free: 11.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.883e-05/0.5192, allocations: 16.19 kB / 0.6587 GB, free: 11.62 MB / 474.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.002842/0.522, allocations: 1.259 MB / 0.6599 GB, free: 10.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.522, allocations: 12.03 kB / 0.6599 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.5242, allocations: 394.4 kB / 0.6603 GB, free: 9.918 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.5251, allocations: 0.6021 MB / 0.6609 GB, free: 9.277 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.5253, allocations: 130.3 kB / 0.661 GB, free: 9.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5254, allocations: 39.91 kB / 0.661 GB, free: 9.094 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009323/0.5263, allocations: 0.5536 MB / 0.6616 GB, free: 8.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.5274, allocations: 0.6173 MB / 0.6622 GB, free: 7.906 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5274, allocations: 3.984 kB / 0.6622 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.5275, allocations: 0 / 0.6622 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.5275, allocations: 12 kB / 0.6622 GB, free: 7.891 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 preOpt removeSimpleEquations (simulation): time 0.004791/0.5323, allocations: 2.781 MB / 0.6649 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5454, allocations: 3.695 MB / 0.6685 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.5461, allocations: 385.8 kB / 0.6689 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.5462, allocations: 8.562 kB / 0.6689 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5462, allocations: 43.11 kB / 0.6689 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/0.5462, allocations: 0 / 0.6689 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005424/0.5516, allocations: 1.893 MB / 0.6708 GB, free: 14.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5517, allocations: 89.66 kB / 0.6709 GB, free: 14.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.5525, allocations: 0.6175 MB / 0.6715 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.5526, allocations: 33.69 kB / 0.6715 GB, free: 14.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5529, allocations: 376.6 kB / 0.6719 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.5531, allocations: 229.8 kB / 0.6721 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.5531, allocations: 0 / 0.6721 GB, free: 13.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.5532, allocations: 330 kB / 0.6724 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.5537, allocations: 321.6 kB / 0.6727 GB, free: 12.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.5543, allocations: 413.9 kB / 0.6731 GB, free: 12.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.5548, allocations: 366 kB / 0.6734 GB, free: 12.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5548, allocations: 4 kB / 0.6734 GB, free: 12.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006018/0.5608, allocations: 2.114 MB / 0.6755 GB, free: 9.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.5611, allocations: 0.6231 MB / 0.6761 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5611, allocations: 0 / 0.6761 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/0.5649, allocations: 1.003 MB / 0.6771 GB, free: 8.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.5655, allocations: 107.8 kB / 0.6772 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/0.5731, allocations: 4.301 MB / 0.6814 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009748/0.5741, allocations: 106.9 kB / 0.6815 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.5741, allocations: 23.98 kB / 0.6815 GB, free: 3.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.5742, allocations: 4 kB / 0.6815 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005948/0.5801, allocations: 2.003 MB / 0.6835 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5801, allocations: 0 / 0.6835 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/0.584, allocations: 1 MB / 0.6845 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.5846, allocations: 99.89 kB / 0.6846 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008622/0.5933, allocations: 4.305 MB / 0.6888 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.5943, allocations: 91.48 kB / 0.6888 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.5944, allocations: 33.56 kB / 0.6889 GB, free: 11.97 MB / 0.4948 GB 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.0002774/0.5947, allocations: 115.2 kB / 0.689 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.5949, allocations: 88.14 kB / 0.6891 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/0.6005, allocations: 1.973 MB / 0.691 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6005, allocations: 4 kB / 0.691 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6005, allocations: 6.438 kB / 0.691 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.6005, allocations: 3.984 kB / 0.691 GB, free: 9.766 MB / 0.4948 GB 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.006932/0.6075, allocations: 3.187 MB / 0.6941 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6075, allocations: 4.062 kB / 0.6941 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.608, allocations: 79.89 kB / 0.6942 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.6108, allocations: 0.8428 MB / 0.695 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.6108, allocations: 4 kB / 0.695 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/0.6163, allocations: 3.271 MB / 0.6982 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6164, allocations: 1.688 kB / 0.6982 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/0.6223, allocations: 2.544 MB / 0.7007 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.6226, allocations: 187.7 kB / 0.7009 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6227, allocations: 7.953 kB / 0.7009 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.6235, allocations: 75.92 kB / 0.701 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.6238, allocations: 120.4 kB / 0.7011 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.6239, allocations: 16 kB / 0.7011 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005837/0.6245, allocations: 487.2 kB / 0.7016 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6245, allocations: 0 / 0.7016 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001234/0.6258, allocations: 447.3 kB / 0.702 GB, free: 14.25 MB / 0.5105 GB 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.000241/0.626, allocations: 150.9 kB / 0.7021 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006147/0.6322, allocations: 2.705 MB / 0.7048 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6322, allocations: 0 / 0.7048 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.6346, allocations: 1.096 MB / 0.7058 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.6351, allocations: 53.52 kB / 0.7059 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.6379, allocations: 1.456 MB / 0.7073 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.6384, allocations: 0.9955 MB / 0.7083 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005432/0.639, allocations: 112.1 kB / 0.7084 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.6391, allocations: 39.42 kB / 0.7084 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.6391, allocations: 0 / 0.7084 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of Templates: time 0.02668/0.6658, allocations: 18.36 MB / 0.7264 GB, free: 5.258 MB / 0.5261 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)