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: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007942/0.007942, allocations: 170.2 kB / 15.11 MB, free: 5.973 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.434/1.434, allocations: 223.2 MB / 239 MB, free: 1.781 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.00103/0.00103, allocations: 104.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5529/0.5529, allocations: 79.45 MB / 420.7 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 12 kB / 0.4891 GB, free: 1.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4439, allocations: 69.49 MB / 0.557 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.5854, allocations: 101.8 MB / 0.6564 GB, free: 3.754 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5857, allocations: 84.45 kB / 0.6565 GB, free: 3.672 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08669/0.6725, allocations: 30.16 MB / 0.6859 GB, free: 5.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6725, allocations: 4 kB / 0.6859 GB, free: 5.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000177/0.6727, allocations: 28 kB / 0.6859 GB, free: 5.344 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.006659/0.6793, allocations: 1.815 MB / 0.6877 GB, free: 3.473 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.6794, allocations: 8.031 kB / 0.6877 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005336/0.68, allocations: 106.5 kB / 0.6878 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.6829, allocations: 422 kB / 0.6882 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.686, allocations: 0.9503 MB / 0.6892 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/0.6864, allocations: 247.5 kB / 0.6894 GB, free: 1.656 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.6868, allocations: 68 kB / 0.6895 GB, free: 1.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.6896, allocations: 1.007 MB / 0.6904 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6896, allocations: 0 / 0.6904 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.6897, allocations: 28 kB / 0.6905 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6898, allocations: 12 kB / 0.6905 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.6921, allocations: 0.9657 MB / 0.6914 GB, free: 15.55 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00808/0.7002, allocations: 3.617 MB / 0.695 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/0.7195, allocations: 4.281 MB / 0.6991 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.7198, allocations: 20.64 kB / 0.6992 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.773e-05/0.7199, allocations: 43.17 kB / 0.6992 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.128e-06/0.7199, allocations: 0 / 0.6992 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.02503/0.7449, allocations: 4.692 MB / 0.7038 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.7451, allocations: 111.5 kB / 0.7039 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.7488, allocations: 1.023 MB / 0.7049 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004085/0.7493, allocations: 37.7 kB / 0.7049 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.7499, allocations: 477 kB / 0.7054 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/0.7504, allocations: 275.9 kB / 0.7056 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.7505, allocations: 20 kB / 0.7057 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.7507, allocations: 337.9 kB / 0.706 GB, free: 340 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.7528, allocations: 0.5721 MB / 0.7065 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.755, allocations: 0.678 MB / 0.7072 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.7572, allocations: 0.6131 MB / 0.7078 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7572, allocations: 0 / 0.7078 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0133/0.7705, allocations: 2.806 MB / 0.7105 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.7709, allocations: 0.6351 MB / 0.7112 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.7709, allocations: 0 / 0.7112 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00722/0.7782, allocations: 1.237 MB / 0.7124 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.7798, allocations: 171.7 kB / 0.7125 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.7979, allocations: 5.579 MB / 0.718 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.8005, allocations: 179.1 kB / 0.7182 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.8008, allocations: 31.98 kB / 0.7182 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8008, allocations: 8 kB / 0.7182 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01156/0.8124, allocations: 2.625 MB / 0.7208 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.8125, allocations: 4 kB / 0.7208 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007002/0.8195, allocations: 1.231 MB / 0.722 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.821, allocations: 155.8 kB / 0.7221 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/0.8391, allocations: 5.567 MB / 0.7275 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.8416, allocations: 159.2 kB / 0.7277 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.8418, allocations: 28 kB / 0.7277 GB, free: 9.695 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true 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 () * Number of clocked 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.0009726/0.8428, allocations: 352.9 kB / 0.7281 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.8432, allocations: 110.6 kB / 0.7282 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.8543, allocations: 2.65 MB / 0.7308 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.8543, allocations: 11.98 kB / 0.7308 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.8544, allocations: 4 kB / 0.7308 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.8544, allocations: 3.984 kB / 0.7308 GB, free: 6.535 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01514/0.8696, allocations: 4.232 MB / 0.7349 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.8696, allocations: 0 / 0.7349 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.871, allocations: 111.8 kB / 0.735 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005278/0.8763, allocations: 1.085 MB / 0.7361 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/0.8767, allocations: 23.98 kB / 0.7361 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.8886, allocations: 4.293 MB / 0.7403 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8887, allocations: 4 kB / 0.7403 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009011/0.8977, allocations: 3.437 MB / 0.7436 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.8983, allocations: 227.5 kB / 0.7439 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.8985, allocations: 20 kB / 0.7439 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.8998, allocations: 131.9 kB / 0.744 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000395/0.9002, allocations: 136.4 kB / 0.7441 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.9003, allocations: 19.98 kB / 0.7442 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00156/0.9019, allocations: 0.8075 MB / 0.7449 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9019, allocations: 4 kB / 0.745 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001777/0.9037, allocations: 0.5499 MB / 0.7455 GB, free: 7.168 MB / 0.5417 GB 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 () * Number of clocked 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.009221/0.9129, allocations: 4.127 MB / 0.7495 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00904/0.922, allocations: 3.483 MB / 0.7529 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.9221, allocations: 4.109 kB / 0.7529 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/0.9255, allocations: 1.385 MB / 0.7543 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.9265, allocations: 107.7 kB / 0.7544 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.9332, allocations: 4.316 MB / 0.7586 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.9339, allocations: 1.108 MB / 0.7597 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007336/0.9346, allocations: 125.9 kB / 0.7598 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000702/0.9354, allocations: 407.3 kB / 0.7602 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/0.9354, allocations: 0 / 0.7602 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3286/1.264, allocations: 31.06 MB / 0.7905 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.264, allocations: 220.7 kB / 0.7907 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/4.421, allocations: 0 / 0.7907 GB, free: 143.4 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)