Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0007985/0.0007985, allocations: 82.25 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4407/0.4407, allocations: 78.07 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.196e-05/1.19e-05, allocations: 0 / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 69.35 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.487, allocations: 98.69 MB / 0.6377 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.4872, allocations: 80.94 kB / 0.6377 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05872/0.546, allocations: 22.7 MB / 0.6599 GB, free: 10.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.546, allocations: 0 / 0.6599 GB, free: 10.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.546, allocations: 20 kB / 0.6599 GB, free: 10.1 MB / 474.7 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.002936/0.549, allocations: 1.306 MB / 0.6612 GB, free: 8.746 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.549, allocations: 13.62 kB / 0.6612 GB, free: 8.734 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5512, allocations: 390.4 kB / 0.6616 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.5521, allocations: 0.637 MB / 0.6622 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.5523, allocations: 191.1 kB / 0.6624 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.5524, allocations: 43.98 kB / 0.6624 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009724/0.5534, allocations: 0.5809 MB / 0.663 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.5545, allocations: 0.6562 MB / 0.6636 GB, free: 6.164 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5546, allocations: 8 kB / 0.6637 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.5546, allocations: 0 / 0.6637 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.5546, allocations: 12 kB / 0.6637 GB, free: 6.145 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004867/0.5595, allocations: 3.045 MB / 0.6666 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.5725, allocations: 3.71 MB / 0.6703 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.5732, allocations: 394.5 kB / 0.6706 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.293e-05/0.5733, allocations: 8.562 kB / 0.6706 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.5733, allocations: 43.12 kB / 0.6707 GB, free: 14.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.895e-06/0.5734, allocations: 3.938 kB / 0.6707 GB, free: 14.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.005651/0.579, allocations: 1.945 MB / 0.6726 GB, free: 12.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.5791, allocations: 94.83 kB / 0.6727 GB, free: 12.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.58, allocations: 0.6254 MB / 0.6733 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.5801, allocations: 25.7 kB / 0.6733 GB, free: 12.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.5804, allocations: 400.3 kB / 0.6737 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.5806, allocations: 244.4 kB / 0.6739 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.5806, allocations: 0 / 0.6739 GB, free: 11.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5808, allocations: 326 kB / 0.6742 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.5813, allocations: 341.5 kB / 0.6746 GB, free: 10.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.5819, allocations: 430.7 kB / 0.675 GB, free: 10.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.5825, allocations: 377.2 kB / 0.6753 GB, free: 9.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5825, allocations: 4 kB / 0.6753 GB, free: 9.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006182/0.5887, allocations: 2.172 MB / 0.6775 GB, free: 7.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.589, allocations: 0.7072 MB / 0.6782 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.589, allocations: 4 kB / 0.6782 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.5929, allocations: 1.042 MB / 0.6792 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.5935, allocations: 107.9 kB / 0.6793 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008413/0.602, allocations: 4.574 MB / 0.6837 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.603, allocations: 111.3 kB / 0.6839 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/0.6031, allocations: 27.98 kB / 0.6839 GB, free: 0.957 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.6031, allocations: 7.953 kB / 0.6839 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00602/0.6092, allocations: 2.046 MB / 0.6859 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6092, allocations: 4 kB / 0.6859 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.6131, allocations: 1.045 MB / 0.6869 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.6136, allocations: 100.7 kB / 0.687 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008345/0.6219, allocations: 4.575 MB / 0.6915 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.623, allocations: 99.47 kB / 0.6916 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.6231, allocations: 30.95 kB / 0.6916 GB, free: 8.91 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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.0002874/0.6233, allocations: 113.5 kB / 0.6917 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.6236, allocations: 98.83 kB / 0.6918 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005513/0.6291, allocations: 2.029 MB / 0.6938 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6291, allocations: 4 kB / 0.6938 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.6291, allocations: 8 kB / 0.6938 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6292, allocations: 7.938 kB / 0.6938 GB, free: 6.633 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.007181/0.6363, allocations: 3.289 MB / 0.697 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6364, allocations: 0 / 0.697 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.6369, allocations: 75.91 kB / 0.6971 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.6396, allocations: 0.8842 MB / 0.6979 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.6397, allocations: 7.688 kB / 0.698 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/0.6458, allocations: 3.551 MB / 0.7014 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.6459, allocations: 4 kB / 0.7014 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006138/0.652, allocations: 2.623 MB / 0.704 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.6524, allocations: 187.8 kB / 0.7042 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.6525, allocations: 0 / 0.7042 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.6534, allocations: 71.94 kB / 0.7042 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.6537, allocations: 128.3 kB / 0.7044 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.6538, allocations: 24 kB / 0.7044 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007393/0.6545, allocations: 491.2 kB / 0.7048 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6545, allocations: 0 / 0.7048 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001474/0.656, allocations: 475.1 kB / 0.7053 GB, free: 10.59 MB / 0.5105 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: 1 (breaker.Open) * Number of discrete 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.0002601/0.6563, allocations: 147.3 kB / 0.7054 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006755/0.663, allocations: 2.857 MB / 0.7082 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6631, allocations: 0.6562 kB / 0.7082 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.6658, allocations: 1.16 MB / 0.7094 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.6663, allocations: 55.31 kB / 0.7094 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.6694, allocations: 1.524 MB / 0.7109 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.67, allocations: 1.02 MB / 0.7119 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005721/0.6706, allocations: 112.3 kB / 0.712 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.6708, allocations: 39.42 kB / 0.712 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/0.6708, allocations: 0 / 0.712 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of Templates: time 0.02864/0.6994, allocations: 19.17 MB / 0.7308 GB, free: 492 kB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)