Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 174.6 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.208/1.208, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009653/0.0009653, allocations: 97.67 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.423/0.423, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.389e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2862, allocations: 69.35 MB / 0.548 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3988, allocations: 101 MB / 0.6466 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.3991, allocations: 83.95 kB / 0.6467 GB, free: 15.31 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08147/0.4806, allocations: 29.9 MB / 0.6759 GB, free: 1.215 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4806, allocations: 3.938 kB / 0.6759 GB, free: 1.211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.918e-05/0.4807, allocations: 20 kB / 0.6759 GB, free: 1.191 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.263/0.7437, allocations: 1.461 MB / 0.6773 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.7438, allocations: 13.25 kB / 0.6774 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/0.7471, allocations: 419 kB / 0.6778 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.7492, allocations: 0.8606 MB / 0.6786 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.7495, allocations: 245.9 kB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.7497, allocations: 73.81 kB / 0.6789 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.7516, allocations: 0.8473 MB / 0.6797 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.7516, allocations: 4.891 kB / 0.6797 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.7517, allocations: 24.69 kB / 0.6798 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.7518, allocations: 16.75 kB / 0.6798 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.7535, allocations: 0.7789 MB / 0.6805 GB, free: 103.9 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.007823/0.7613, allocations: 3.623 MB / 0.6841 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01506/0.7764, allocations: 4.004 MB / 0.688 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000856/0.7773, allocations: 484.2 kB / 0.6884 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/0.7774, allocations: 14.44 kB / 0.6885 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.7774, allocations: 38.28 kB / 0.6885 GB, free: 102.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.438e-06/0.7774, allocations: 3.906 kB / 0.6885 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005425/0.7829, allocations: 2.151 MB / 0.6906 GB, free: 102.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.7829, allocations: 111.3 kB / 0.6907 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.7842, allocations: 0.9381 MB / 0.6916 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.7843, allocations: 41.52 kB / 0.6917 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.7846, allocations: 475 kB / 0.6921 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.7848, allocations: 280.8 kB / 0.6924 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.7849, allocations: 15.66 kB / 0.6924 GB, free: 101.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.785, allocations: 336.3 kB / 0.6927 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.7856, allocations: 432 kB / 0.6931 GB, free: 101.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.7862, allocations: 0.5219 MB / 0.6936 GB, free: 100.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.7869, allocations: 475 kB / 0.6941 GB, free: 100.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7869, allocations: 0 / 0.6941 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005989/0.7929, allocations: 2.405 MB / 0.6964 GB, free: 99.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.793, allocations: 0.616 MB / 0.697 GB, free: 99.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.793, allocations: 2.062 kB / 0.697 GB, free: 99.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/0.7967, allocations: 1.018 MB / 0.698 GB, free: 99.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.7976, allocations: 159.8 kB / 0.6982 GB, free: 99.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.8049, allocations: 4.454 MB / 0.7025 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8065, allocations: 182.1 kB / 0.7027 GB, free: 96.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/0.8066, allocations: 26.69 kB / 0.7027 GB, free: 96.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.8066, allocations: 3.406 kB / 0.7027 GB, free: 96.28 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00585/0.8125, allocations: 2.26 MB / 0.7049 GB, free: 95.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8125, allocations: 0 / 0.7049 GB, free: 95.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003605/0.8161, allocations: 1.01 MB / 0.7059 GB, free: 95.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/0.8169, allocations: 150.2 kB / 0.7061 GB, free: 95.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.824, allocations: 4.447 MB / 0.7104 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.8254, allocations: 166.7 kB / 0.7106 GB, free: 91.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.8255, allocations: 30.23 kB / 0.7106 GB, free: 91.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 (79): * Single equations (assignments): 76 * 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.0002383/0.8258, allocations: 154.6 kB / 0.7108 GB, free: 91.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.826, allocations: 114.5 kB / 0.7109 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005329/0.8313, allocations: 2.244 MB / 0.7131 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.8314, allocations: 8 kB / 0.7131 GB, free: 89.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.8314, allocations: 4 kB / 0.7131 GB, free: 89.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.8314, allocations: 3.516 kB / 0.7131 GB, free: 89.59 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.006958/0.8383, allocations: 3.834 MB / 0.7168 GB, free: 86.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.8384, allocations: 4 kB / 0.7168 GB, free: 86.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/0.8391, allocations: 109.7 kB / 0.7169 GB, free: 86.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.8416, allocations: 0.8496 MB / 0.7178 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.8417, allocations: 16 kB / 0.7178 GB, free: 85.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/0.8466, allocations: 3.373 MB / 0.7211 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8467, allocations: 0 / 0.7211 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005982/0.8526, allocations: 2.902 MB / 0.7239 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.853, allocations: 234.2 kB / 0.7241 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.8532, allocations: 16 kB / 0.7241 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.8543, allocations: 132.4 kB / 0.7243 GB, free: 79.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.8546, allocations: 127.2 kB / 0.7244 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.8547, allocations: 27.84 kB / 0.7244 GB, free: 79.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008208/0.8555, allocations: 0.7233 MB / 0.7251 GB, free: 78.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8555, allocations: 3.938 kB / 0.7251 GB, free: 78.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001271/0.8568, allocations: 0.5464 MB / 0.7257 GB, free: 78.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0002475/0.8571, allocations: 155.8 kB / 0.7258 GB, free: 78.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/0.8633, allocations: 3.11 MB / 0.7288 GB, free: 75.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8633, allocations: 0 / 0.7288 GB, free: 75.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.8657, allocations: 1.213 MB / 0.73 GB, free: 74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.8665, allocations: 100.1 kB / 0.7301 GB, free: 73.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.8699, allocations: 1.919 MB / 0.732 GB, free: 72.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.8704, allocations: 1.112 MB / 0.7331 GB, free: 71.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008885/0.8713, allocations: 210.2 kB / 0.7333 GB, free: 71.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.8715, allocations: 47.09 kB / 0.7333 GB, free: 71.05 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.8715, allocations: 4 kB / 0.7333 GB, free: 71.05 MB / 490.7 MB Notification: Performance of Templates: time 0.03176/0.9032, allocations: 23.42 MB / 0.7562 GB, free: 48.46 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)