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.001036/0.001035, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.425/1.425, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008117/0.0008118, allocations: 92.91 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4497/0.4497, allocations: 78.94 MB / 410.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.641e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1777, allocations: 69.51 MB / 0.5424 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5535, allocations: 98.88 MB / 0.639 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5537, allocations: 81.56 kB / 0.6391 GB, free: 15.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05724/0.611, allocations: 22.04 MB / 0.6606 GB, free: 9.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.611, allocations: 0 / 0.6606 GB, free: 9.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.745e-05/0.611, allocations: 16 kB / 0.6606 GB, free: 9.164 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002871/0.6139, allocations: 1.256 MB / 0.6618 GB, free: 7.859 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.614, allocations: 12.03 kB / 0.6619 GB, free: 7.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.6161, allocations: 390.4 kB / 0.6622 GB, free: 7.465 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.617, allocations: 0.5988 MB / 0.6628 GB, free: 6.828 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.6171, allocations: 134.4 kB / 0.6629 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/0.6173, allocations: 39.91 kB / 0.663 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000932/0.6182, allocations: 0.5574 MB / 0.6635 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.6192, allocations: 0.6172 MB / 0.6641 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6193, allocations: 0 / 0.6641 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.6193, allocations: 0 / 0.6641 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6193, allocations: 19.78 kB / 0.6641 GB, free: 5.434 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.00466/0.624, allocations: 2.78 MB / 0.6669 GB, free: 2.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/0.637, allocations: 3.691 MB / 0.6705 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.6376, allocations: 382.5 kB / 0.6708 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.6377, allocations: 8.5 kB / 0.6708 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6377, allocations: 43.11 kB / 0.6709 GB, free: 14.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.074e-06/0.6377, allocations: 0 / 0.6709 GB, free: 14.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005338/0.6431, allocations: 1.897 MB / 0.6727 GB, free: 12.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.6431, allocations: 89.61 kB / 0.6728 GB, free: 12.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.644, allocations: 0.6214 MB / 0.6734 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.6441, allocations: 25.7 kB / 0.6734 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.6444, allocations: 374 kB / 0.6738 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.6446, allocations: 228.5 kB / 0.674 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.6446, allocations: 0 / 0.674 GB, free: 11.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6448, allocations: 338 kB / 0.6743 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.6453, allocations: 325.5 kB / 0.6747 GB, free: 10.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.6458, allocations: 409.9 kB / 0.675 GB, free: 10.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.6464, allocations: 362.1 kB / 0.6754 GB, free: 9.656 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6464, allocations: 7.938 kB / 0.6754 GB, free: 9.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006112/0.6526, allocations: 2.114 MB / 0.6775 GB, free: 7.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.6529, allocations: 0.623 MB / 0.6781 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6529, allocations: 4 kB / 0.6781 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/0.6568, allocations: 0.9967 MB / 0.679 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.6574, allocations: 107.8 kB / 0.6792 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/0.6655, allocations: 4.309 MB / 0.6834 GB, free: 1.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6666, allocations: 103.4 kB / 0.6835 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.6667, allocations: 25.02 kB / 0.6835 GB, free: 1.188 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.6667, allocations: 4 kB / 0.6835 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00591/0.6727, allocations: 1.999 MB / 0.6854 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6727, allocations: 0 / 0.6854 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/0.6766, allocations: 1.002 MB / 0.6864 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.6772, allocations: 99.83 kB / 0.6865 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00786/0.6851, allocations: 4.311 MB / 0.6907 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6861, allocations: 95.47 kB / 0.6908 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.6862, allocations: 24 kB / 0.6908 GB, free: 9.516 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "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 () * 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.0002888/0.6865, allocations: 124.5 kB / 0.691 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.6867, allocations: 86.92 kB / 0.691 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/0.692, allocations: 1.97 MB / 0.693 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6921, allocations: 8 kB / 0.693 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6921, allocations: 4 kB / 0.693 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.6921, allocations: 7.984 kB / 0.693 GB, free: 7.293 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.006746/0.6988, allocations: 3.183 MB / 0.6961 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6988, allocations: 4 kB / 0.6961 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.6994, allocations: 79.91 kB / 0.6962 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/0.7021, allocations: 0.8445 MB / 0.697 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.7022, allocations: 6.062 kB / 0.697 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.7077, allocations: 3.277 MB / 0.7002 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7077, allocations: 0 / 0.7002 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.7137, allocations: 2.529 MB / 0.7027 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.714, allocations: 195.8 kB / 0.7029 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.7142, allocations: 7.953 kB / 0.7029 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.715, allocations: 67.94 kB / 0.7029 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.7153, allocations: 132.3 kB / 0.7031 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.7153, allocations: 16 kB / 0.7031 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005947/0.7159, allocations: 483.2 kB / 0.7035 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7159, allocations: 3.938 kB / 0.7035 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001335/0.7173, allocations: 447.3 kB / 0.704 GB, free: 11.78 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: 0 () * Number of discrete 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.0002498/0.7175, allocations: 143.1 kB / 0.7041 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006214/0.7238, allocations: 2.709 MB / 0.7067 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7238, allocations: 4 kB / 0.7067 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.7263, allocations: 1.086 MB / 0.7078 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.7268, allocations: 60.22 kB / 0.7079 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.7296, allocations: 1.46 MB / 0.7093 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.7302, allocations: 0.9917 MB / 0.7103 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005473/0.7307, allocations: 114.9 kB / 0.7104 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.7309, allocations: 39.44 kB / 0.7104 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.7309, allocations: 0 / 0.7104 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of Templates: time 0.02607/0.757, allocations: 18.37 MB / 0.7283 GB, free: 2.777 MB / 0.5261 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)