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: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_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_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.001437/0.001437, allocations: 172 kB / 7.647 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.312/1.312, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008651/0.0008649, allocations: 98.17 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4592/0.4592, allocations: 78.07 MB / 409.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.045e-05, allocations: 3.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 69.36 MB / 0.5414 GB, free: 6.766 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.5018, allocations: 100.4 MB / 0.6394 GB, free: 15.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.502, allocations: 80.7 kB / 0.6395 GB, free: 15.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07913/0.5812, allocations: 29.58 MB / 0.6683 GB, free: 1.508 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5812, allocations: 0 / 0.6683 GB, free: 1.508 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.936e-05/0.5813, allocations: 28 kB / 0.6684 GB, free: 1.48 MB / 474.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.003413/0.5847, allocations: 1.462 MB / 0.6698 GB, free: 15.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5848, allocations: 8.031 kB / 0.6698 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.5871, allocations: 426 kB / 0.6702 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.5886, allocations: 0.8566 MB / 0.671 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.5889, allocations: 225.2 kB / 0.6713 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.589, allocations: 51.78 kB / 0.6713 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001305/0.5903, allocations: 0.7485 MB / 0.672 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.5916, allocations: 0.7587 MB / 0.6728 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5916, allocations: 3.984 kB / 0.6728 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.5917, allocations: 0 / 0.6728 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5918, allocations: 16 kB / 0.6728 GB, free: 12.79 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.006231/0.598, allocations: 3.501 MB / 0.6762 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.6117, allocations: 3.973 MB / 0.6801 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/0.6127, allocations: 467.7 kB / 0.6805 GB, free: 4.695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/0.6128, allocations: 8.781 kB / 0.6806 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.6128, allocations: 43.34 kB / 0.6806 GB, free: 4.633 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.6128, allocations: 0 / 0.6806 GB, free: 4.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005999/0.6188, allocations: 2.101 MB / 0.6827 GB, free: 2.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.6189, allocations: 111.6 kB / 0.6828 GB, free: 2.379 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.6204, allocations: 0.8634 MB / 0.6836 GB, free: 1.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.6206, allocations: 25.7 kB / 0.6836 GB, free: 1.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.6209, allocations: 484.6 kB / 0.6841 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.6212, allocations: 272 kB / 0.6843 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.6213, allocations: 0 / 0.6843 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6214, allocations: 338 kB / 0.6847 GB, free: 396 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.6221, allocations: 414.6 kB / 0.6851 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.6228, allocations: 0.5106 MB / 0.6856 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.6234, allocations: 457.2 kB / 0.686 GB, free: 15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6235, allocations: 0 / 0.686 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006472/0.6299, allocations: 2.336 MB / 0.6883 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.6302, allocations: 0.6138 MB / 0.6889 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6302, allocations: 0.8438 kB / 0.6889 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/0.6342, allocations: 1.007 MB / 0.6899 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.6352, allocations: 165.3 kB / 0.69 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007781/0.6429, allocations: 4.293 MB / 0.6942 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6446, allocations: 163.1 kB / 0.6944 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6447, allocations: 28 kB / 0.6944 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6448, allocations: 4 kB / 0.6944 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006243/0.651, allocations: 2.181 MB / 0.6965 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6511, allocations: 4 kB / 0.6965 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/0.655, allocations: 0.9931 MB / 0.6975 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.656, allocations: 151.8 kB / 0.6976 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/0.6638, allocations: 4.295 MB / 0.7018 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6655, allocations: 143.3 kB / 0.702 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.6656, allocations: 24 kB / 0.702 GB, free: 14.29 MB / 0.5105 GB 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.0003128/0.6659, allocations: 114.4 kB / 0.7021 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005815/0.6717, allocations: 2.105 MB / 0.7042 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.6721, allocations: 115 kB / 0.7043 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005761/0.6779, allocations: 2.165 MB / 0.7064 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.6779, allocations: 12 kB / 0.7064 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.678, allocations: 4 kB / 0.7064 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.678, allocations: 7.938 kB / 0.7064 GB, free: 9.73 MB / 0.5105 GB 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.007881/0.6859, allocations: 3.677 MB / 0.71 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6859, allocations: 0 / 0.71 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/0.6868, allocations: 111.8 kB / 0.7101 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.6895, allocations: 0.8427 MB / 0.7109 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.6897, allocations: 8 kB / 0.7109 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005481/0.6952, allocations: 3.281 MB / 0.7141 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6952, allocations: 0 / 0.7141 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.7021, allocations: 2.827 MB / 0.7169 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.7026, allocations: 231.5 kB / 0.7171 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.7028, allocations: 4 kB / 0.7171 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.7041, allocations: 119.9 kB / 0.7172 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/0.7044, allocations: 132.5 kB / 0.7174 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.7045, allocations: 20 kB / 0.7174 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009018/0.7054, allocations: 0.6548 MB / 0.718 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.824e-06/0.7054, allocations: 0 / 0.718 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001559/0.707, allocations: 0.5068 MB / 0.7185 GB, free: 13.04 MB / 0.5261 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 () * 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.00684/0.7138, allocations: 3.494 MB / 0.7219 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006958/0.7208, allocations: 3.009 MB / 0.7249 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7209, allocations: 112 / 0.7249 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.7236, allocations: 1.194 MB / 0.726 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.7245, allocations: 95.55 kB / 0.7261 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.7289, allocations: 2.063 MB / 0.7281 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.7295, allocations: 1.111 MB / 0.7292 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000921/0.7305, allocations: 205.9 kB / 0.7294 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.731, allocations: 399.3 kB / 0.7298 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/0.731, allocations: 0 / 0.7298 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05578/0.7868, allocations: 30.37 MB / 0.7595 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.787, allocations: 149.5 kB / 0.7596 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.639, allocations: 0 / 0.7596 GB, free: 2.973 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)