Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009698, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.587/1.587, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001768/0.001768, allocations: 181 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5045/0.5045, allocations: 79.44 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 12 kB / 0.489 GB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1586, allocations: 69.51 MB / 0.5569 GB, free: 24 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.3276/0.4862, allocations: 4.722 MB / 0.5615 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.4905, allocations: 1.737 MB / 0.5632 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.4915, allocations: 10.5 kB / 0.5632 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.4921, allocations: 133.3 kB / 0.5633 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.4943, allocations: 0.5874 MB / 0.5639 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4955, allocations: 398.6 kB / 0.5643 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.4975, allocations: 0.7616 MB / 0.565 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.498, allocations: 213.2 kB / 0.5652 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008297/0.4988, allocations: 422.9 kB / 0.5656 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007526/0.4996, allocations: 0.5386 MB / 0.5662 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.4997, allocations: 52.5 kB / 0.5662 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.5003, allocations: 165.8 kB / 0.5664 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.5005, allocations: 190.3 kB / 0.5665 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.5007, allocations: 192.5 kB / 0.5667 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.5019, allocations: 1.12 MB / 0.5678 GB, free: 36.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5019, allocations: 0 / 0.5678 GB, free: 36.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5019, allocations: 0 / 0.5678 GB, free: 36.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.5019, allocations: 0 / 0.5678 GB, free: 36.41 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005507/0.5074, allocations: 1.782 MB / 0.5696 GB, free: 35.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5075, allocations: 10.91 kB / 0.5696 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.5109, allocations: 0.5315 MB / 0.5701 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.5123, allocations: 0.6764 MB / 0.5708 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.5125, allocations: 219.1 kB / 0.571 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.5127, allocations: 65.25 kB / 0.571 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.5145, allocations: 0.8789 MB / 0.5719 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5146, allocations: 1.031 kB / 0.5719 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.5147, allocations: 24.53 kB / 0.5719 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5147, allocations: 15.62 kB / 0.5719 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5161, allocations: 0.7687 MB / 0.5727 GB, free: 34.8 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.005401/0.5215, allocations: 3.325 MB / 0.5759 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.5343, allocations: 3.984 MB / 0.5798 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.5345, allocations: 8.438 kB / 0.5798 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5346, allocations: 42.25 kB / 0.5799 GB, free: 32.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 4.829e-06/0.5346, allocations: 0.5156 kB / 0.5799 GB, free: 32.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.01353/0.5481, allocations: 4.228 MB / 0.584 GB, free: 30.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.5482, allocations: 84.98 kB / 0.5841 GB, free: 30.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.5496, allocations: 0.7982 MB / 0.5848 GB, free: 30.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.5499, allocations: 44.05 kB / 0.5849 GB, free: 30.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.5502, allocations: 390.8 kB / 0.5853 GB, free: 30.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.5505, allocations: 254.9 kB / 0.5855 GB, free: 29.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.5505, allocations: 21.09 kB / 0.5855 GB, free: 29.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.5506, allocations: 346.4 kB / 0.5859 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.5519, allocations: 0.5968 MB / 0.5864 GB, free: 29.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.5532, allocations: 0.715 MB / 0.5871 GB, free: 29.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.5545, allocations: 0.645 MB / 0.5878 GB, free: 28.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.5546, allocations: 1.406 kB / 0.5878 GB, free: 28.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008874/0.5634, allocations: 2.961 MB / 0.5907 GB, free: 27.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.5637, allocations: 0.7001 MB / 0.5913 GB, free: 27.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5637, allocations: 8.797 kB / 0.5914 GB, free: 27.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/0.5689, allocations: 1.291 MB / 0.5926 GB, free: 26.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.5702, allocations: 177.2 kB / 0.5928 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.5831, allocations: 5.895 MB / 0.5985 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.5849, allocations: 154.1 kB / 0.5987 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.5851, allocations: 35.25 kB / 0.5987 GB, free: 23.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5851, allocations: 3.438 kB / 0.5987 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009025/0.5941, allocations: 2.816 MB / 0.6015 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.5942, allocations: 3.641 kB / 0.6015 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005125/0.5993, allocations: 1.296 MB / 0.6027 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.6005, allocations: 168.5 kB / 0.6029 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.6134, allocations: 5.899 MB / 0.6087 GB, free: 19.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.615, allocations: 130.8 kB / 0.6088 GB, free: 19.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.6151, allocations: 36.14 kB / 0.6088 GB, free: 19.73 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005853/0.6157, allocations: 311.7 kB / 0.6091 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.6159, allocations: 85.16 kB / 0.6092 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007224/0.6232, allocations: 2.487 MB / 0.6116 GB, free: 18.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.6232, allocations: 7.094 kB / 0.6116 GB, free: 18.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.6232, allocations: 8.219 kB / 0.6116 GB, free: 18.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.6233, allocations: 6.031 kB / 0.6117 GB, free: 18.72 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.009003/0.6323, allocations: 3.83 MB / 0.6154 GB, free: 16.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6323, allocations: 0 / 0.6154 GB, free: 16.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.6329, allocations: 83.66 kB / 0.6155 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/0.6363, allocations: 1.128 MB / 0.6166 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.6365, allocations: 16.8 kB / 0.6166 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007972/0.6445, allocations: 4.594 MB / 0.6211 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6445, allocations: 4.609 kB / 0.6211 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007328/0.6518, allocations: 3.195 MB / 0.6242 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.6523, allocations: 183.9 kB / 0.6244 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.6525, allocations: 28.92 kB / 0.6244 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.6533, allocations: 79.94 kB / 0.6245 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/0.6537, allocations: 136.3 kB / 0.6246 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.6538, allocations: 16 kB / 0.6246 GB, free: 6.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006275/0.6544, allocations: 0.5358 MB / 0.6251 GB, free: 6.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6544, allocations: 0 / 0.6251 GB, free: 6.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001842/0.6562, allocations: 0.5578 MB / 0.6257 GB, free: 5.703 MB / 430.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: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002425/0.6565, allocations: 139.8 kB / 0.6258 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008041/0.6645, allocations: 3.697 MB / 0.6294 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6646, allocations: 0 / 0.6294 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.6674, allocations: 1.32 MB / 0.6307 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.6682, allocations: 65.48 kB / 0.6308 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.6722, allocations: 2.26 MB / 0.633 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.6729, allocations: 1.019 MB / 0.634 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005014/0.6734, allocations: 94.28 kB / 0.6341 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6736, allocations: 51.42 kB / 0.6341 GB, free: 12.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6736, allocations: 0 / 0.6341 GB, free: 12.88 MB / 446.1 MB Notification: Performance of Templates: time 0.03271/0.7063, allocations: 20.15 MB / 0.6538 GB, free: 8.918 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)