Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.003712/0.003712, allocations: 170 kB / 15.11 MB, free: 6.039 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.109/1.109, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008404/0.0008404, allocations: 108.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.398/0.398, allocations: 79.43 MB / 420.8 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 12 kB / 0.489 GB, free: 2.043 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 69.51 MB / 0.5569 GB, free: 39.26 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0992/0.3897, allocations: 99.62 MB / 0.6542 GB, free: 5.949 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3899, allocations: 84.58 kB / 0.6543 GB, free: 5.867 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05428/0.4442, allocations: 22.36 MB / 0.6761 GB, free: 15.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4442, allocations: 0 / 0.6761 GB, free: 15.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.4443, allocations: 16 kB / 0.6762 GB, free: 15.36 MB / 490.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.003418/0.4477, allocations: 1.48 MB / 0.6776 GB, free: 13.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4478, allocations: 8.031 kB / 0.6776 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.4499, allocations: 386.5 kB / 0.678 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/0.4509, allocations: 0.6175 MB / 0.6786 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.451, allocations: 154.7 kB / 0.6787 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4511, allocations: 55.95 kB / 0.6788 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.4525, allocations: 0.8149 MB / 0.6796 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4526, allocations: 4 kB / 0.6796 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.4526, allocations: 24 kB / 0.6796 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4527, allocations: 15.98 kB / 0.6796 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.4539, allocations: 0.7274 MB / 0.6803 GB, free: 10.95 MB / 490.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.004509/0.4585, allocations: 2.884 MB / 0.6831 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.471, allocations: 3.942 MB / 0.687 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.4711, allocations: 12.48 kB / 0.687 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4712, allocations: 43.12 kB / 0.687 GB, free: 3.891 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.314e-06/0.4712, allocations: 0 / 0.687 GB, free: 3.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01102/0.4822, allocations: 3.951 MB / 0.6909 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4823, allocations: 85.67 kB / 0.691 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/0.4832, allocations: 0.6721 MB / 0.6916 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.4833, allocations: 37.7 kB / 0.6917 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.4835, allocations: 388.5 kB / 0.692 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.4838, allocations: 232.6 kB / 0.6923 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.4838, allocations: 16 kB / 0.6923 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.4839, allocations: 330 kB / 0.6926 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008714/0.4848, allocations: 477.8 kB / 0.6931 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.4857, allocations: 0.5481 MB / 0.6936 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/0.4866, allocations: 0.5042 MB / 0.6941 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4866, allocations: 3.953 kB / 0.6941 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006811/0.4935, allocations: 2.552 MB / 0.6966 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.4937, allocations: 0.6193 MB / 0.6972 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4937, allocations: 0 / 0.6972 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004306/0.498, allocations: 1.24 MB / 0.6984 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.4985, allocations: 103.9 kB / 0.6985 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.5091, allocations: 5.592 MB / 0.704 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.5099, allocations: 119.4 kB / 0.7041 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.51, allocations: 23.98 kB / 0.7041 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.51, allocations: 4.781 kB / 0.7041 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006583/0.5166, allocations: 2.422 MB / 0.7065 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5167, allocations: 3.984 kB / 0.7065 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/0.5209, allocations: 1.243 MB / 0.7077 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.5213, allocations: 103.8 kB / 0.7078 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.5317, allocations: 5.566 MB / 0.7132 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.5325, allocations: 123.2 kB / 0.7133 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.5326, allocations: 24 kB / 0.7134 GB, free: 8.449 MB / 0.5105 GB 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(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 (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.000352/0.533, allocations: 290.1 kB / 0.7136 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.5331, allocations: 82.97 kB / 0.7137 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005975/0.5391, allocations: 2.403 MB / 0.7161 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.5391, allocations: 8 kB / 0.7161 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.5391, allocations: 4 kB / 0.7161 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5391, allocations: 3.984 kB / 0.7161 GB, free: 5.625 MB / 0.5105 GB 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.007517/0.5467, allocations: 3.686 MB / 0.7197 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5467, allocations: 0 / 0.7197 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.5472, allocations: 83.89 kB / 0.7197 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.5504, allocations: 1.091 MB / 0.7208 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.5504, allocations: 16 kB / 0.7208 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007587/0.558, allocations: 4.286 MB / 0.725 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.558, allocations: 0 / 0.725 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006758/0.5648, allocations: 3.087 MB / 0.728 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.565, allocations: 179.9 kB / 0.7282 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5651, allocations: 20 kB / 0.7282 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.5659, allocations: 80.02 kB / 0.7283 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.5662, allocations: 132.3 kB / 0.7284 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.5662, allocations: 16 kB / 0.7284 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006137/0.5668, allocations: 0.5341 MB / 0.729 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5668, allocations: 0 / 0.729 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001132/0.568, allocations: 499.2 kB / 0.7294 GB, free: 7.637 MB / 0.5261 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 () * 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.0002398/0.5682, allocations: 141 kB / 0.7296 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006818/0.5751, allocations: 3.165 MB / 0.7327 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5751, allocations: 384 / 0.7327 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.5777, allocations: 1.267 MB / 0.7339 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.5781, allocations: 63.3 kB / 0.734 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.5813, allocations: 2.139 MB / 0.736 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.5817, allocations: 0.9945 MB / 0.737 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000331/0.5821, allocations: 64.72 kB / 0.7371 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.5822, allocations: 43.42 kB / 0.7371 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5822, allocations: 0 / 0.7371 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.02484/0.6071, allocations: 18.66 MB / 0.7553 GB, free: 12.91 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)