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.007678/0.007678, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.337/1.337, allocations: 223.2 MB / 239 MB, free: 1.715 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.0008239/0.000824, allocations: 85.7 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4383/0.4383, allocations: 78.59 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 11.98 kB / 499.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 69.35 MB / 0.5558 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.004852/0.3506, allocations: 4.543 MB / 0.5602 GB, free: 38.45 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.3539, allocations: 1.703 MB / 0.5619 GB, free: 37.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.3543, allocations: 10.41 kB / 0.5619 GB, free: 37.37 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.3546, allocations: 119.8 kB / 0.562 GB, free: 37.32 MB / 426.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 twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001372/0.356, allocations: 0.5708 MB / 0.5626 GB, free: 36.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009847/0.3569, allocations: 390.4 kB / 0.5629 GB, free: 36.74 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.358, allocations: 0.7355 MB / 0.5637 GB, free: 36.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.3584, allocations: 194.6 kB / 0.5638 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.3591, allocations: 404 kB / 0.5642 GB, free: 36.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.3599, allocations: 0.5065 MB / 0.5647 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.36, allocations: 48.97 kB / 0.5648 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.3604, allocations: 161 kB / 0.5649 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.3606, allocations: 180.7 kB / 0.5651 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3608, allocations: 180.7 kB / 0.5653 GB, free: 35.59 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.3618, allocations: 1.074 MB / 0.5663 GB, free: 35.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3618, allocations: 0 / 0.5663 GB, free: 35.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3618, allocations: 1.094 kB / 0.5663 GB, free: 35.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3618, allocations: 0 / 0.5663 GB, free: 35.31 MB / 426.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.005099/0.3669, allocations: 1.727 MB / 0.568 GB, free: 34.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.367, allocations: 12.16 kB / 0.568 GB, free: 34.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.37, allocations: 0.5189 MB / 0.5685 GB, free: 34.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3713, allocations: 0.6509 MB / 0.5692 GB, free: 33.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.3715, allocations: 154.9 kB / 0.5693 GB, free: 33.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3717, allocations: 66.09 kB / 0.5694 GB, free: 33.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3732, allocations: 0.8196 MB / 0.5702 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3732, allocations: 3.031 kB / 0.5702 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.3733, allocations: 19 kB / 0.5702 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3733, allocations: 11.66 kB / 0.5702 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3746, allocations: 0.7337 MB / 0.5709 GB, free: 33.16 MB / 426.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.004364/0.379, allocations: 3.046 MB / 0.5739 GB, free: 31.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.3916, allocations: 3.951 MB / 0.5777 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3917, allocations: 9.438 kB / 0.5778 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3918, allocations: 45.28 kB / 0.5778 GB, free: 30.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 3.016e-06/0.3918, allocations: 0 / 0.5778 GB, free: 30.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.01235/0.4041, allocations: 4.358 MB / 0.5821 GB, free: 29.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4042, allocations: 86.92 kB / 0.5821 GB, free: 29.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/0.4052, allocations: 0.7799 MB / 0.5829 GB, free: 29.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.4053, allocations: 41.2 kB / 0.5829 GB, free: 29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4055, allocations: 375.7 kB / 0.5833 GB, free: 28.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.4057, allocations: 237.6 kB / 0.5835 GB, free: 28.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.4058, allocations: 21.38 kB / 0.5835 GB, free: 28.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.4058, allocations: 346.2 kB / 0.5839 GB, free: 28.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4068, allocations: 0.5765 MB / 0.5844 GB, free: 27.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4079, allocations: 0.6891 MB / 0.5851 GB, free: 27.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4089, allocations: 0.6341 MB / 0.5857 GB, free: 27.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4089, allocations: 0 / 0.5857 GB, free: 27.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007258/0.4162, allocations: 2.874 MB / 0.5885 GB, free: 26.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.4163, allocations: 0.6215 MB / 0.5891 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4164, allocations: 3.188 kB / 0.5891 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/0.421, allocations: 1.256 MB / 0.5904 GB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.4219, allocations: 176.1 kB / 0.5905 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.4331, allocations: 5.595 MB / 0.596 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.4345, allocations: 142.7 kB / 0.5961 GB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.4346, allocations: 38.19 kB / 0.5962 GB, free: 22.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4346, allocations: 4.5 kB / 0.5962 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007858/0.4424, allocations: 2.737 MB / 0.5989 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4425, allocations: 1.219 kB / 0.5989 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.4471, allocations: 1.251 MB / 0.6001 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.448, allocations: 167.8 kB / 0.6002 GB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.4597, allocations: 5.601 MB / 0.6057 GB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.461, allocations: 121.2 kB / 0.6058 GB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4611, allocations: 34.25 kB / 0.6059 GB, free: 18.77 MB / 426.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * 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.0006317/0.4617, allocations: 307.5 kB / 0.6061 GB, free: 18.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.462, allocations: 92.55 kB / 0.6062 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006781/0.4688, allocations: 2.393 MB / 0.6086 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4688, allocations: 5.531 kB / 0.6086 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.4689, allocations: 8.188 kB / 0.6086 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4689, allocations: 5.391 kB / 0.6086 GB, free: 17.8 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.008429/0.4773, allocations: 3.695 MB / 0.6122 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4773, allocations: 0 / 0.6122 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.4779, allocations: 83.08 kB / 0.6123 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.481, allocations: 1.076 MB / 0.6133 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-05/0.4811, allocations: 20.89 kB / 0.6133 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/0.4885, allocations: 4.317 MB / 0.6176 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4885, allocations: 0 / 0.6176 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/0.4954, allocations: 3.087 MB / 0.6206 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.4958, allocations: 191.8 kB / 0.6208 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.4961, allocations: 16 kB / 0.6208 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.497, allocations: 79.94 kB / 0.6209 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.4973, allocations: 120.3 kB / 0.621 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.4974, allocations: 16 kB / 0.621 GB, free: 6.688 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006581/0.498, allocations: 0.5264 MB / 0.6215 GB, free: 6.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.498, allocations: 0 / 0.6215 GB, free: 6.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001888/0.4999, allocations: 0.5306 MB / 0.622 GB, free: 5.637 MB / 426.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 () * Number of clocked 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.000239/0.5002, allocations: 133.5 kB / 0.6221 GB, free: 5.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007607/0.5078, allocations: 3.548 MB / 0.6256 GB, free: 1.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5078, allocations: 0 / 0.6256 GB, free: 1.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.5105, allocations: 1.267 MB / 0.6268 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.5111, allocations: 55.81 kB / 0.6269 GB, free: 476 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.5147, allocations: 2.156 MB / 0.629 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.5153, allocations: 0.9913 MB / 0.63 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005336/0.5159, allocations: 89.42 kB / 0.6301 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.5161, allocations: 51.42 kB / 0.6301 GB, free: 13.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.184e-06/0.5161, allocations: 384 / 0.6301 GB, free: 13.12 MB / 442.7 MB Notification: Performance of Templates: time 0.03257/0.5487, allocations: 19.31 MB / 0.649 GB, free: 9.844 MB / 458.7 MB 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)