Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.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 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.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009681/0.0009681, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.318/1.318, allocations: 223.3 MB / 239 MB, free: 5.613 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.001007/0.001008, allocations: 168.6 kB / 290.3 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4929/0.4929, allocations: 91.92 MB / 433.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 11.98 kB / 0.5042 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2944, allocations: 72.47 MB / 0.5749 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.005188/0.2997, allocations: 5.037 MB / 0.5799 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.303, allocations: 1.713 MB / 0.5815 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.3037, allocations: 11.72 kB / 0.5816 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.3042, allocations: 134.6 kB / 0.5817 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.3059, allocations: 0.5328 MB / 0.5822 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.3068, allocations: 404.5 kB / 0.5826 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008877/0.3077, allocations: 1.122 MB / 0.5837 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.308, allocations: 212.3 kB / 0.5839 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.3084, allocations: 430.8 kB / 0.5843 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.3089, allocations: 0.5539 MB / 0.5848 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.309, allocations: 49.47 kB / 0.5849 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.3094, allocations: 181.9 kB / 0.5851 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3096, allocations: 199.6 kB / 0.5852 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3098, allocations: 188.3 kB / 0.5854 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.3109, allocations: 1.182 MB / 0.5866 GB, free: 29.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3109, allocations: 0 / 0.5866 GB, free: 29.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3109, allocations: 0 / 0.5866 GB, free: 29.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.3109, allocations: 0.6875 kB / 0.5866 GB, free: 29.99 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.006889/0.3178, allocations: 1.772 MB / 0.5883 GB, free: 29.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3179, allocations: 10.31 kB / 0.5883 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/0.3234, allocations: 0.5398 MB / 0.5889 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.325, allocations: 0.6797 MB / 0.5895 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.3253, allocations: 243.6 kB / 0.5897 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.3255, allocations: 65.62 kB / 0.5898 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.3279, allocations: 0.8833 MB / 0.5907 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3279, allocations: 1.281 kB / 0.5907 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.328, allocations: 28.84 kB / 0.5907 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.328, allocations: 15.25 kB / 0.5907 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.3296, allocations: 0.7522 MB / 0.5914 GB, free: 27.66 MB / 430.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.005043/0.3347, allocations: 3.41 MB / 0.5948 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/0.3422, allocations: 2.453 MB / 0.5972 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009773/0.3432, allocations: 0.5028 MB / 0.5977 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.3433, allocations: 8.219 kB / 0.5977 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3433, allocations: 46.98 kB / 0.5977 GB, free: 24.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.3433, allocations: 0 / 0.5977 GB, free: 24.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=72): time 0.01124/0.3546, allocations: 3.831 MB / 0.6015 GB, free: 23.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3546, allocations: 85.11 kB / 0.6015 GB, free: 23.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3557, allocations: 0.7853 MB / 0.6023 GB, free: 23.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3559, allocations: 40.83 kB / 0.6023 GB, free: 23.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.3561, allocations: 405.4 kB / 0.6027 GB, free: 22.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.3563, allocations: 264.7 kB / 0.603 GB, free: 22.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.3564, allocations: 20.69 kB / 0.603 GB, free: 22.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.3565, allocations: 347.2 kB / 0.6033 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3575, allocations: 0.5663 MB / 0.6039 GB, free: 22.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3586, allocations: 0.6815 MB / 0.6046 GB, free: 21.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3597, allocations: 0.6143 MB / 0.6052 GB, free: 21.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3598, allocations: 0 / 0.6052 GB, free: 21.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006644/0.3664, allocations: 2.627 MB / 0.6077 GB, free: 20.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.3665, allocations: 139.4 kB / 0.6079 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3665, allocations: 3.203 kB / 0.6079 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004381/0.3709, allocations: 1.191 MB / 0.609 GB, free: 20.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/0.3718, allocations: 176.9 kB / 0.6092 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009342/0.3812, allocations: 5.032 MB / 0.6141 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3824, allocations: 130.4 kB / 0.6142 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.3825, allocations: 35.39 kB / 0.6143 GB, free: 17.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.3825, allocations: 4.156 kB / 0.6143 GB, free: 17.26 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006567/0.3891, allocations: 2.48 MB / 0.6167 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3891, allocations: 2.938 kB / 0.6167 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/0.3936, allocations: 1.19 MB / 0.6179 GB, free: 16.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/0.3946, allocations: 166.6 kB / 0.618 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008925/0.4036, allocations: 5.015 MB / 0.6229 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.4047, allocations: 123.2 kB / 0.623 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.4048, allocations: 36.17 kB / 0.6231 GB, free: 11.86 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.4053, allocations: 309 kB / 0.6234 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4054, allocations: 94.86 kB / 0.6234 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/0.4101, allocations: 2.148 MB / 0.6255 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4102, allocations: 8 kB / 0.6256 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4102, allocations: 4 kB / 0.6256 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4102, allocations: 3.984 kB / 0.6256 GB, free: 9.27 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.006135/0.4163, allocations: 3.525 MB / 0.629 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4164, allocations: 0 / 0.629 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.4169, allocations: 83.89 kB / 0.6291 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/0.4197, allocations: 1.004 MB / 0.6301 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.4198, allocations: 19.98 kB / 0.6301 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005933/0.4257, allocations: 3.913 MB / 0.6339 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4257, allocations: 0 / 0.6339 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/0.4322, allocations: 2.799 MB / 0.6366 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.4326, allocations: 199.7 kB / 0.6368 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4327, allocations: 16 kB / 0.6368 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.4335, allocations: 71.94 kB / 0.6369 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.4338, allocations: 116.5 kB / 0.637 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.4338, allocations: 19.98 kB / 0.637 GB, free: 13.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000693/0.4345, allocations: 0.5303 MB / 0.6376 GB, free: 12.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4345, allocations: 0 / 0.6376 GB, free: 12.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001613/0.4362, allocations: 0.5655 MB / 0.6381 GB, free: 12.12 MB / 446.1 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/0.4364, allocations: 133.7 kB / 0.6382 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007863/0.4443, allocations: 3.464 MB / 0.6416 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4443, allocations: 0 / 0.6416 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/0.4472, allocations: 1.256 MB / 0.6428 GB, free: 7.094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.4479, allocations: 71.27 kB / 0.6429 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.4518, allocations: 2.346 MB / 0.6452 GB, free: 4.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.4523, allocations: 1.003 MB / 0.6462 GB, free: 3.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004851/0.4528, allocations: 93.75 kB / 0.6463 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.453, allocations: 51.42 kB / 0.6463 GB, free: 3.461 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4531, allocations: 4 kB / 0.6463 GB, free: 3.457 MB / 446.1 MB Notification: Performance of Templates: time 0.02924/0.4823, allocations: 19.14 MB / 0.665 GB, free: 372 kB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)