Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001398/0.001398, 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.357/1.357, allocations: 221.4 MB / 234.6 MB, free: 14.41 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.001075/0.001075, allocations: 98.75 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5331/0.5331, allocations: 78.03 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.565e-05, allocations: 7.984 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 69.33 MB / 0.548 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3757, allocations: 98.88 MB / 0.6445 GB, free: 1.566 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.3759, allocations: 83.95 kB / 0.6446 GB, free: 1.484 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05827/0.4342, allocations: 22.1 MB / 0.6662 GB, free: 11.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4342, allocations: 0 / 0.6662 GB, free: 11.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.4343, allocations: 12 kB / 0.6662 GB, free: 11.18 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.002825/0.4371, allocations: 1.266 MB / 0.6674 GB, free: 9.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4371, allocations: 15.97 kB / 0.6675 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.4393, allocations: 390.3 kB / 0.6678 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008804/0.4402, allocations: 0.6018 MB / 0.6684 GB, free: 8.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.4404, allocations: 158.4 kB / 0.6686 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4405, allocations: 60.25 kB / 0.6686 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4416, allocations: 0.6862 MB / 0.6693 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4417, allocations: 0 / 0.6693 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.4417, allocations: 23.94 kB / 0.6693 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.4418, allocations: 12 kB / 0.6693 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.4427, allocations: 0.5793 MB / 0.6699 GB, free: 7.281 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.004699/0.4474, allocations: 2.874 MB / 0.6727 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.4612, allocations: 3.723 MB / 0.6763 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.4618, allocations: 402.5 kB / 0.6767 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.4619, allocations: 12.5 kB / 0.6767 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.462, allocations: 35.12 kB / 0.6768 GB, free: 52 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.745e-06/0.462, allocations: 0 / 0.6768 GB, free: 52 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.2533/0.7153, allocations: 1.931 MB / 0.6787 GB, free: 109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.7154, allocations: 85.11 kB / 0.6787 GB, free: 108.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/0.7164, allocations: 0.6676 MB / 0.6794 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.7165, allocations: 38.7 kB / 0.6794 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.7167, allocations: 391.1 kB / 0.6798 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.7169, allocations: 228.4 kB / 0.68 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.717, allocations: 14.44 kB / 0.68 GB, free: 108.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.717, allocations: 330.1 kB / 0.6803 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.7176, allocations: 341.2 kB / 0.6807 GB, free: 108.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.7182, allocations: 433.9 kB / 0.6811 GB, free: 108.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/0.7189, allocations: 373.4 kB / 0.6814 GB, free: 108.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7189, allocations: 0 / 0.6814 GB, free: 108.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00649/0.7254, allocations: 2.186 MB / 0.6836 GB, free: 108 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.7255, allocations: 0.6165 MB / 0.6842 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7255, allocations: 4.375 kB / 0.6842 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.7297, allocations: 1.017 MB / 0.6852 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.7303, allocations: 104.5 kB / 0.6853 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.7377, allocations: 4.466 MB / 0.6896 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.7387, allocations: 116.2 kB / 0.6897 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.7388, allocations: 26.94 kB / 0.6898 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.7388, allocations: 3.969 kB / 0.6898 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005643/0.7444, allocations: 2.08 MB / 0.6918 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7445, allocations: 0 / 0.6918 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/0.7481, allocations: 1.01 MB / 0.6928 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.7485, allocations: 105.8 kB / 0.6929 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.7557, allocations: 4.444 MB / 0.6972 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.7566, allocations: 109.3 kB / 0.6973 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.7567, allocations: 26.89 kB / 0.6974 GB, free: 102.2 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.0002045/0.7569, allocations: 150.3 kB / 0.6975 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.757, allocations: 83.22 kB / 0.6976 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00507/0.7621, allocations: 2.032 MB / 0.6996 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7621, allocations: 6.938 kB / 0.6996 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7622, allocations: 3.438 kB / 0.6996 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7622, allocations: 3.797 kB / 0.6996 GB, free: 101.4 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.006316/0.7685, allocations: 3.309 MB / 0.7028 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7685, allocations: 0 / 0.7028 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.769, allocations: 89.47 kB / 0.7029 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.7716, allocations: 0.8485 MB / 0.7037 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.7716, allocations: 11.97 kB / 0.7037 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.7765, allocations: 3.367 MB / 0.707 GB, free: 97.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7765, allocations: 0 / 0.707 GB, free: 97.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/0.7821, allocations: 2.594 MB / 0.7096 GB, free: 94.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.7823, allocations: 186.7 kB / 0.7097 GB, free: 94.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7825, allocations: 16 kB / 0.7098 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.7832, allocations: 86.42 kB / 0.7098 GB, free: 94.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.7835, allocations: 118.8 kB / 0.7099 GB, free: 94.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.7836, allocations: 19.84 kB / 0.71 GB, free: 94.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005402/0.7841, allocations: 0.5168 MB / 0.7105 GB, free: 94.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7841, allocations: 0 / 0.7105 GB, free: 94.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001133/0.7853, allocations: 496.8 kB / 0.7109 GB, free: 93.62 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.0002233/0.7855, allocations: 153.9 kB / 0.7111 GB, free: 93.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005657/0.7912, allocations: 2.802 MB / 0.7138 GB, free: 90.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7912, allocations: 0 / 0.7138 GB, free: 90.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/0.7935, allocations: 1.128 MB / 0.7149 GB, free: 89.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.7939, allocations: 59.31 kB / 0.715 GB, free: 89.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.7965, allocations: 1.491 MB / 0.7164 GB, free: 88.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.7968, allocations: 0.9953 MB / 0.7174 GB, free: 87.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.7974, allocations: 112.4 kB / 0.7175 GB, free: 87.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.7975, allocations: 43.03 kB / 0.7176 GB, free: 87.32 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7976, allocations: 0 / 0.7176 GB, free: 87.32 MB / 490.7 MB Notification: Performance of Templates: time 0.025/0.8226, allocations: 20.04 MB / 0.7371 GB, free: 69.11 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)