Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 173 kB / 15.77 MB, free: 6.328 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.442/1.442, allocations: 223.3 MB / 239.8 MB, free: 0 / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008147, allocations: 100.8 kB / 290.9 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4568/0.4568, allocations: 78.62 MB / 420.7 MB, free: 36.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8 kB / 0.4888 GB, free: 7.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 69.37 MB / 0.5565 GB, free: 1.801 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.005871/0.1344, allocations: 5.371 MB / 0.5618 GB, free: 12.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1383, allocations: 2.064 MB / 0.5638 GB, free: 10.34 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.1391, allocations: 11.94 kB / 0.5638 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.1399, allocations: 178.8 kB / 0.564 GB, free: 10.15 MB / 442.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.001863/0.1418, allocations: 0.6056 MB / 0.5646 GB, free: 9.547 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.143, allocations: 0.5063 MB / 0.5651 GB, free: 9.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.1449, allocations: 1.574 MB / 0.5666 GB, free: 7.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.1454, allocations: 239.7 kB / 0.5668 GB, free: 7.215 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008896/0.1463, allocations: 0.568 MB / 0.5674 GB, free: 6.645 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.1474, allocations: 0.6729 MB / 0.568 GB, free: 5.969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.1477, allocations: 60 kB / 0.5681 GB, free: 5.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.1482, allocations: 183.8 kB / 0.5683 GB, free: 5.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.1485, allocations: 254.9 kB / 0.5685 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.1489, allocations: 217.1 kB / 0.5687 GB, free: 5.262 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.1504, allocations: 1.55 MB / 0.5702 GB, free: 3.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1504, allocations: 0 / 0.5702 GB, free: 3.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1504, allocations: 3.938 kB / 0.5702 GB, free: 3.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.137e-05/0.1505, allocations: 0 / 0.5702 GB, free: 3.703 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007194/0.1577, allocations: 2.08 MB / 0.5723 GB, free: 1.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1577, allocations: 12.03 kB / 0.5723 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.1614, allocations: 0.5565 MB / 0.5728 GB, free: 1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2735/0.4349, allocations: 0.9641 MB / 0.5738 GB, free: 44.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/0.4354, allocations: 239.6 kB / 0.574 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.4358, allocations: 73.5 kB / 0.5741 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.4382, allocations: 1.007 MB / 0.575 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4383, allocations: 0 / 0.575 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.4384, allocations: 32.75 kB / 0.5751 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.4384, allocations: 15.72 kB / 0.5751 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.4406, allocations: 0.9616 MB / 0.576 GB, free: 43.75 MB / 442.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.006921/0.4475, allocations: 3.691 MB / 0.5796 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01546/0.463, allocations: 4.279 MB / 0.5838 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.4647, allocations: 0.622 MB / 0.5844 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.604e-05/0.4649, allocations: 14.42 kB / 0.5844 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.4649, allocations: 43.44 kB / 0.5845 GB, free: 42.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/0.4649, allocations: 2.031 kB / 0.5845 GB, free: 42.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=76): time 0.01536/0.4803, allocations: 4.645 MB / 0.589 GB, free: 42.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4804, allocations: 115.2 kB / 0.5891 GB, free: 41.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.4827, allocations: 1.154 MB / 0.5903 GB, free: 41.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.4829, allocations: 41.33 kB / 0.5903 GB, free: 41.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.4832, allocations: 469.4 kB / 0.5907 GB, free: 41.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.4835, allocations: 284.1 kB / 0.591 GB, free: 41.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.4836, allocations: 25.53 kB / 0.591 GB, free: 41.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4837, allocations: 354.1 kB / 0.5914 GB, free: 41.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4851, allocations: 0.6881 MB / 0.592 GB, free: 40.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.4866, allocations: 0.8119 MB / 0.5928 GB, free: 40.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.4881, allocations: 0.7504 MB / 0.5936 GB, free: 40.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.4881, allocations: 0 / 0.5936 GB, free: 40.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009632/0.4978, allocations: 3.139 MB / 0.5966 GB, free: 39.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.4979, allocations: 134.8 kB / 0.5968 GB, free: 39.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4979, allocations: 3.344 kB / 0.5968 GB, free: 39.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004972/0.5029, allocations: 1.255 MB / 0.598 GB, free: 38.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.5042, allocations: 227.2 kB / 0.5982 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.5156, allocations: 5.384 MB / 0.6035 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.5176, allocations: 202 kB / 0.6037 GB, free: 35.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5177, allocations: 41.59 kB / 0.6037 GB, free: 35.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5177, allocations: 2.594 kB / 0.6037 GB, free: 35.95 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008067/0.5258, allocations: 2.94 MB / 0.6066 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.5259, allocations: 3.156 kB / 0.6066 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/0.5305, allocations: 1.251 MB / 0.6078 GB, free: 34.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.5318, allocations: 212.8 kB / 0.608 GB, free: 34.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.5428, allocations: 5.382 MB / 0.6133 GB, free: 32.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.5445, allocations: 172.5 kB / 0.6134 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.5447, allocations: 39.72 kB / 0.6135 GB, free: 32.03 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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 (118): * Single equations (assignments): 115 * 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.0006358/0.5453, allocations: 354.2 kB / 0.6138 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.5455, allocations: 111.3 kB / 0.6139 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00739/0.5529, allocations: 2.65 MB / 0.6165 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.553, allocations: 9.281 kB / 0.6165 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.553, allocations: 11.08 kB / 0.6165 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.553, allocations: 4.641 kB / 0.6165 GB, free: 30.91 MB / 442.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.009306/0.5623, allocations: 4.225 MB / 0.6206 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5623, allocations: 0 / 0.6206 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/0.5631, allocations: 107.9 kB / 0.6207 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003621/0.5667, allocations: 1.089 MB / 0.6218 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.5669, allocations: 21.59 kB / 0.6218 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/0.575, allocations: 4.131 MB / 0.6259 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5751, allocations: 1.156 kB / 0.6259 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009122/0.5842, allocations: 3.443 MB / 0.6292 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.5847, allocations: 233.5 kB / 0.6294 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.5849, allocations: 17.75 kB / 0.6295 GB, free: 25.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.5861, allocations: 132.1 kB / 0.6296 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/0.5865, allocations: 138.7 kB / 0.6297 GB, free: 25.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.5866, allocations: 19.17 kB / 0.6297 GB, free: 25.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001595/0.5882, allocations: 0.8125 MB / 0.6305 GB, free: 24.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5882, allocations: 0 / 0.6305 GB, free: 24.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001795/0.59, allocations: 0.5891 MB / 0.6311 GB, free: 24.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * 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 (59): * Single equations (assignments): 56 * 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.0002398/0.5902, allocations: 134.5 kB / 0.6312 GB, free: 24.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008637/0.5989, allocations: 3.897 MB / 0.635 GB, free: 22.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5989, allocations: 0 / 0.635 GB, free: 22.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003148/0.6021, allocations: 1.378 MB / 0.6364 GB, free: 21.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.603, allocations: 107.3 kB / 0.6365 GB, free: 20.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.6072, allocations: 2.785 MB / 0.6392 GB, free: 18.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.6078, allocations: 1.088 MB / 0.6403 GB, free: 17.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.6082, allocations: 70.91 kB / 0.6403 GB, free: 17.42 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6082, allocations: 0 / 0.6403 GB, free: 17.42 MB / 442.7 MB Notification: Performance of Templates: time 0.02796/0.6362, allocations: 30.09 MB / 0.6697 GB, free: 3.777 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)