Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001328/0.001328, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.2/1.2, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008356/0.0008357, allocations: 85.66 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4551/0.4551, allocations: 78.07 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.569e-05, allocations: 4 kB / 491.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4001, allocations: 69.34 MB / 0.548 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.5434, allocations: 98.87 MB / 0.6446 GB, free: 1.668 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5437, allocations: 83.95 kB / 0.6446 GB, free: 1.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05759/0.6013, allocations: 22.11 MB / 0.6662 GB, free: 11.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6014, allocations: 0 / 0.6662 GB, free: 11.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.642e-05/0.6014, allocations: 16 kB / 0.6662 GB, free: 11.27 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.003327/0.6048, allocations: 1.268 MB / 0.6675 GB, free: 9.953 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6048, allocations: 15.97 kB / 0.6675 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.6072, allocations: 382.4 kB / 0.6679 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.6084, allocations: 0.6057 MB / 0.6685 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.6086, allocations: 154.4 kB / 0.6686 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.6087, allocations: 60.25 kB / 0.6687 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.61, allocations: 0.6901 MB / 0.6693 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.61, allocations: 3.938 kB / 0.6693 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.6101, allocations: 20 kB / 0.6694 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.6101, allocations: 12 kB / 0.6694 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.6111, allocations: 0.5793 MB / 0.6699 GB, free: 7.367 MB / 490.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.005076/0.6162, allocations: 2.874 MB / 0.6727 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.6293, allocations: 3.715 MB / 0.6764 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.63, allocations: 398.5 kB / 0.6767 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.691e-05/0.6301, allocations: 12.5 kB / 0.6768 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.6301, allocations: 43.11 kB / 0.6768 GB, free: 148 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.625e-06/0.6301, allocations: 0 / 0.6768 GB, free: 148 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.2593/0.8894, allocations: 1.927 MB / 0.6787 GB, free: 109.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.8895, allocations: 85.47 kB / 0.6788 GB, free: 109 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.8906, allocations: 0.6748 MB / 0.6794 GB, free: 108.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.8907, allocations: 37.2 kB / 0.6795 GB, free: 108.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.8909, allocations: 385.3 kB / 0.6798 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.8912, allocations: 228.6 kB / 0.68 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.8912, allocations: 14.62 kB / 0.6801 GB, free: 108.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.8913, allocations: 332.5 kB / 0.6804 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.8919, allocations: 340.8 kB / 0.6807 GB, free: 108.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.8925, allocations: 429.5 kB / 0.6811 GB, free: 108.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.8932, allocations: 376.7 kB / 0.6815 GB, free: 108.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.8932, allocations: 0.5938 kB / 0.6815 GB, free: 108.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006927/0.9002, allocations: 2.183 MB / 0.6836 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.9003, allocations: 0.6196 MB / 0.6842 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9003, allocations: 1.969 kB / 0.6842 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/0.9046, allocations: 1.017 MB / 0.6852 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.9053, allocations: 109.2 kB / 0.6853 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007642/0.913, allocations: 4.461 MB / 0.6897 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9141, allocations: 124.8 kB / 0.6898 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.9142, allocations: 27.47 kB / 0.6898 GB, free: 105.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.9142, allocations: 4.875 kB / 0.6898 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005737/0.9199, allocations: 2.072 MB / 0.6918 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.92, allocations: 3.906 kB / 0.6918 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.9236, allocations: 1.01 MB / 0.6928 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.9242, allocations: 102.3 kB / 0.6929 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007368/0.9316, allocations: 4.449 MB / 0.6973 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9327, allocations: 109 kB / 0.6974 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.9327, allocations: 29.16 kB / 0.6974 GB, free: 102.4 MB / 490.7 MB 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.000237/0.933, allocations: 146.2 kB / 0.6975 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9331, allocations: 85.91 kB / 0.6976 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/0.9383, allocations: 2.032 MB / 0.6996 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.9383, allocations: 7.781 kB / 0.6996 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.9383, allocations: 3.219 kB / 0.6996 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9383, allocations: 3.938 kB / 0.6996 GB, free: 101.6 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.006564/0.9449, allocations: 3.306 MB / 0.7028 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.9449, allocations: 0 / 0.7028 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.9455, allocations: 92.66 kB / 0.7029 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/0.9481, allocations: 0.8551 MB / 0.7038 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.9482, allocations: 19.23 kB / 0.7038 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.9534, allocations: 3.347 MB / 0.7071 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9534, allocations: 4.031 kB / 0.7071 GB, free: 97.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005727/0.9591, allocations: 2.591 MB / 0.7096 GB, free: 95.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.9594, allocations: 190.7 kB / 0.7098 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.9595, allocations: 12 kB / 0.7098 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007953/0.9603, allocations: 84.38 kB / 0.7099 GB, free: 94.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.9607, allocations: 126.5 kB / 0.71 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.9607, allocations: 16 kB / 0.71 GB, free: 94.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000599/0.9613, allocations: 0.5192 MB / 0.7105 GB, free: 94.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9613, allocations: 0 / 0.7105 GB, free: 94.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00119/0.9625, allocations: 495.7 kB / 0.711 GB, free: 93.78 MB / 490.7 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: 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.0002426/0.9628, allocations: 152.2 kB / 0.7111 GB, free: 93.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005941/0.9687, allocations: 2.808 MB / 0.7139 GB, free: 90.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9688, allocations: 4 kB / 0.7139 GB, free: 90.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.9711, allocations: 1.12 MB / 0.715 GB, free: 89.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.9718, allocations: 67.91 kB / 0.715 GB, free: 89.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.9748, allocations: 1.486 MB / 0.7165 GB, free: 88.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.9751, allocations: 0.9945 MB / 0.7175 GB, free: 87.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006328/0.9758, allocations: 119.6 kB / 0.7176 GB, free: 87.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.976, allocations: 39.44 kB / 0.7176 GB, free: 87.47 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.976, allocations: 0 / 0.7176 GB, free: 87.47 MB / 490.7 MB Notification: Performance of Templates: time 0.02399/1, allocations: 20.04 MB / 0.7372 GB, free: 69.25 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)