Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_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_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.001424/0.001424, allocations: 175.8 kB / 7.647 MB, free: 1.434 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.214/1.214, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0009045/0.0009045, allocations: 99.2 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4289/0.4289, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.338e-05/1.34e-05, allocations: 0 / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 69.36 MB / 0.5413 GB, free: 6.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4322, allocations: 98.21 MB / 0.6372 GB, free: 1.328 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4325, allocations: 79.95 kB / 0.6373 GB, free: 1.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05514/0.4876, allocations: 21.85 MB / 0.6586 GB, free: 11.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4877, allocations: 0 / 0.6586 GB, free: 11.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.4877, allocations: 12 kB / 0.6586 GB, free: 11.45 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.003075/0.4908, allocations: 1.267 MB / 0.6599 GB, free: 10.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4908, allocations: 8.031 kB / 0.6599 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.4931, allocations: 390.4 kB / 0.6602 GB, free: 9.742 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4941, allocations: 0.606 MB / 0.6608 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.4943, allocations: 130.4 kB / 0.6609 GB, free: 8.953 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4945, allocations: 41.41 kB / 0.661 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000934/0.4954, allocations: 0.5518 MB / 0.6615 GB, free: 8.363 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.4965, allocations: 0.6212 MB / 0.6621 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4965, allocations: 0 / 0.6621 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.4966, allocations: 0 / 0.6621 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4966, allocations: 12 kB / 0.6621 GB, free: 7.715 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.004792/0.5014, allocations: 2.78 MB / 0.6649 GB, free: 4.824 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.5143, allocations: 3.691 MB / 0.6685 GB, free: 1.078 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.515, allocations: 383.5 kB / 0.6688 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.5151, allocations: 12.55 kB / 0.6688 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.5151, allocations: 43.12 kB / 0.6689 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.484e-06/0.5151, allocations: 0 / 0.6689 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005511/0.5206, allocations: 1.893 MB / 0.6707 GB, free: 14.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.5207, allocations: 85.67 kB / 0.6708 GB, free: 14.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/0.5216, allocations: 0.6214 MB / 0.6714 GB, free: 14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.5217, allocations: 29.7 kB / 0.6715 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.522, allocations: 381.9 kB / 0.6718 GB, free: 13.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.5222, allocations: 228.5 kB / 0.672 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.5222, allocations: 0 / 0.672 GB, free: 13.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5224, allocations: 330 kB / 0.6723 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.5228, allocations: 321.6 kB / 0.6727 GB, free: 12.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.5234, allocations: 417.9 kB / 0.6731 GB, free: 12.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.5239, allocations: 362 kB / 0.6734 GB, free: 11.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.524, allocations: 0 / 0.6734 GB, free: 11.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006039/0.53, allocations: 2.122 MB / 0.6755 GB, free: 9.797 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.5302, allocations: 0.6204 MB / 0.6761 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5302, allocations: 0 / 0.6761 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/0.534, allocations: 1.003 MB / 0.6771 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.5346, allocations: 107.8 kB / 0.6772 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.5423, allocations: 4.303 MB / 0.6814 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/0.5432, allocations: 104.6 kB / 0.6815 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.5433, allocations: 20 kB / 0.6815 GB, free: 3.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.5433, allocations: 7.938 kB / 0.6815 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005727/0.5491, allocations: 1.999 MB / 0.6834 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5491, allocations: 0 / 0.6834 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/0.5528, allocations: 1.008 MB / 0.6844 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.5533, allocations: 95.89 kB / 0.6845 GB, free: 356 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.5608, allocations: 4.302 MB / 0.6887 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.5617, allocations: 95.47 kB / 0.6888 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.5618, allocations: 31.98 kB / 0.6888 GB, free: 11.8 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.0002479/0.5621, allocations: 114.9 kB / 0.6889 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.5623, allocations: 86.92 kB / 0.689 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.5676, allocations: 1.97 MB / 0.691 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5676, allocations: 7.938 kB / 0.691 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.5676, allocations: 4 kB / 0.691 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.5676, allocations: 7.984 kB / 0.691 GB, free: 9.582 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.00681/0.5744, allocations: 3.183 MB / 0.6941 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5744, allocations: 8.062 kB / 0.6941 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.575, allocations: 76.83 kB / 0.6942 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.5776, allocations: 0.8393 MB / 0.695 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.5777, allocations: 7.984 kB / 0.695 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.583, allocations: 3.277 MB / 0.6982 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.583, allocations: 0 / 0.6982 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.5889, allocations: 2.533 MB / 0.7007 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.5891, allocations: 192.4 kB / 0.7008 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.5893, allocations: 11.95 kB / 0.7009 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/0.5901, allocations: 67.94 kB / 0.7009 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.5904, allocations: 124.4 kB / 0.701 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.5904, allocations: 16 kB / 0.7011 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005989/0.591, allocations: 487.2 kB / 0.7015 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.591, allocations: 0 / 0.7015 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001296/0.5923, allocations: 453.3 kB / 0.702 GB, free: 14.07 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.0002529/0.5926, allocations: 144.6 kB / 0.7021 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006044/0.5987, allocations: 2.713 MB / 0.7047 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5987, allocations: 0 / 0.7047 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.6011, allocations: 1.093 MB / 0.7058 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.6015, allocations: 54.89 kB / 0.7059 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.6042, allocations: 1.454 MB / 0.7073 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.6047, allocations: 0.9878 MB / 0.7082 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005331/0.6053, allocations: 118.9 kB / 0.7084 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.6054, allocations: 31.44 kB / 0.7084 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.6054, allocations: 3.938 kB / 0.7084 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of Templates: time 0.02623/0.6317, allocations: 18.36 MB / 0.7263 GB, free: 5.09 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)