Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.001489/0.00149, allocations: 173.9 kB / 7.648 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.305/1.305, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0008284/0.0008284, allocations: 97.41 kB / 280.5 MB, free: 1.164 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.434/0.434, allocations: 78.94 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.183e-05, allocations: 4 kB / 485.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3033, allocations: 69.5 MB / 0.5424 GB, free: 21.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4208, allocations: 101 MB / 0.6411 GB, free: 2.738 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.421, allocations: 83.94 kB / 0.6412 GB, free: 2.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07818/0.4992, allocations: 29.75 MB / 0.6702 GB, free: 4.723 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4992, allocations: 3.938 kB / 0.6702 GB, free: 4.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.091e-05/0.4993, allocations: 28.12 kB / 0.6703 GB, free: 4.691 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.003249/0.5026, allocations: 1.469 MB / 0.6717 GB, free: 3.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5026, allocations: 8.031 kB / 0.6717 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.5048, allocations: 422 kB / 0.6721 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5061, allocations: 0.8566 MB / 0.6729 GB, free: 1.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.5063, allocations: 219.8 kB / 0.6732 GB, free: 1.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5065, allocations: 47.86 kB / 0.6732 GB, free: 1.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/0.5077, allocations: 0.7524 MB / 0.6739 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.5089, allocations: 0.7587 MB / 0.6747 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.509, allocations: 3.938 kB / 0.6747 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.509, allocations: 3.938 kB / 0.6747 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2773/0.7864, allocations: 15.58 kB / 0.6747 GB, free: 105.7 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.007266/0.7937, allocations: 3.486 MB / 0.6781 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.8078, allocations: 3.979 MB / 0.682 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/0.8086, allocations: 466.2 kB / 0.6824 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.584e-05/0.8088, allocations: 17.16 kB / 0.6824 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.8088, allocations: 40.09 kB / 0.6825 GB, free: 104.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/0.8088, allocations: 0 / 0.6825 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005678/0.8145, allocations: 2.1 MB / 0.6845 GB, free: 104.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.8145, allocations: 117.5 kB / 0.6846 GB, free: 104.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.8158, allocations: 0.8572 MB / 0.6855 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.8159, allocations: 25.7 kB / 0.6855 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.8162, allocations: 484.8 kB / 0.686 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.8164, allocations: 264.5 kB / 0.6862 GB, free: 104 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.8165, allocations: 1.219 kB / 0.6862 GB, free: 104 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.8166, allocations: 338.7 kB / 0.6865 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.8172, allocations: 415.5 kB / 0.6869 GB, free: 103.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.8178, allocations: 0.5083 MB / 0.6874 GB, free: 103.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/0.8186, allocations: 464.9 kB / 0.6879 GB, free: 103.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8186, allocations: 0 / 0.6879 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005992/0.8246, allocations: 2.331 MB / 0.6902 GB, free: 103.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.8247, allocations: 0.6171 MB / 0.6908 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.8247, allocations: 0 / 0.6908 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/0.8283, allocations: 1.006 MB / 0.6917 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.8291, allocations: 158.4 kB / 0.6919 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/0.8357, allocations: 4.298 MB / 0.6961 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8371, allocations: 163.3 kB / 0.6962 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.8372, allocations: 27.47 kB / 0.6963 GB, free: 99.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.8372, allocations: 7.422 kB / 0.6963 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005458/0.8427, allocations: 2.173 MB / 0.6984 GB, free: 99.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8427, allocations: 5.469 kB / 0.6984 GB, free: 99.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/0.8461, allocations: 1.001 MB / 0.6994 GB, free: 98.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.8468, allocations: 151 kB / 0.6995 GB, free: 98.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/0.8534, allocations: 4.295 MB / 0.7037 GB, free: 96.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.8547, allocations: 144 kB / 0.7039 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.8547, allocations: 32.88 kB / 0.7039 GB, free: 96.35 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.0002445/0.855, allocations: 118.7 kB / 0.704 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.8552, allocations: 112.5 kB / 0.7041 GB, free: 96.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.8602, allocations: 2.17 MB / 0.7062 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8602, allocations: 14.77 kB / 0.7062 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8603, allocations: 7.75 kB / 0.7063 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.8603, allocations: 3.234 kB / 0.7063 GB, free: 95.52 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.006429/0.8667, allocations: 3.683 MB / 0.7099 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8667, allocations: 0 / 0.7099 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.8674, allocations: 111.7 kB / 0.71 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.8698, allocations: 0.8457 MB / 0.7108 GB, free: 93.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.086e-05/0.8699, allocations: 15.73 kB / 0.7108 GB, free: 93.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.8744, allocations: 3.271 MB / 0.714 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.8745, allocations: 0 / 0.714 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/0.88, allocations: 2.835 MB / 0.7168 GB, free: 88.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.8802, allocations: 221.9 kB / 0.717 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.8804, allocations: 4 kB / 0.717 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.8815, allocations: 118.9 kB / 0.7171 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.8817, allocations: 134.8 kB / 0.7172 GB, free: 87.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.8818, allocations: 20 kB / 0.7172 GB, free: 87.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006712/0.8825, allocations: 0.6614 MB / 0.7179 GB, free: 87.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8825, allocations: 4 kB / 0.7179 GB, free: 87.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001281/0.8838, allocations: 0.4995 MB / 0.7184 GB, free: 86.85 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.0002321/0.884, allocations: 153.7 kB / 0.7185 GB, free: 86.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005651/0.8897, allocations: 3.017 MB / 0.7215 GB, free: 83.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8897, allocations: 0.9375 kB / 0.7215 GB, free: 83.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.8919, allocations: 1.183 MB / 0.7226 GB, free: 82.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.8925, allocations: 88.11 kB / 0.7227 GB, free: 82.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.8955, allocations: 1.88 MB / 0.7245 GB, free: 80.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.8959, allocations: 1.108 MB / 0.7256 GB, free: 80 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007813/0.8967, allocations: 207.2 kB / 0.7258 GB, free: 79.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.8969, allocations: 47.44 kB / 0.7259 GB, free: 79.82 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.8969, allocations: 192 / 0.7259 GB, free: 79.82 MB / 490.7 MB Notification: Performance of Templates: time 0.02407/0.921, allocations: 21.22 MB / 0.7466 GB, free: 59.72 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)