Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009893/0.0009894, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 82.59 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08056/0.08056, allocations: 12.19 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2934/0.2934, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.17e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.6087, allocations: 102.5 MB / 0.689 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.6091, allocations: 86.72 kB / 0.6891 GB, free: 13.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07834/0.6874, allocations: 29.21 MB / 0.7177 GB, free: 4.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6875, allocations: 3.938 kB / 0.7177 GB, free: 4.816 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.429e-05/0.6875, allocations: 27.81 kB / 0.7177 GB, free: 4.793 MB / 458.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.003487/0.691, allocations: 1.474 MB / 0.7191 GB, free: 3.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6911, allocations: 15.98 kB / 0.7191 GB, free: 3.344 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.6913, allocations: 109.1 kB / 0.7192 GB, free: 3.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.6935, allocations: 411.5 kB / 0.7196 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.6949, allocations: 0.8862 MB / 0.7205 GB, free: 2.207 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.6952, allocations: 245.6 kB / 0.7207 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6953, allocations: 69.28 kB / 0.7208 GB, free: 1.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6968, allocations: 0.8471 MB / 0.7216 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.6968, allocations: 4 kB / 0.7216 GB, free: 1.359 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.6969, allocations: 27.25 kB / 0.7217 GB, free: 1.352 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.6969, allocations: 16 kB / 0.7217 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.6986, allocations: 0.7801 MB / 0.7224 GB, free: 0.875 MB / 458.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.009553/0.7082, allocations: 3.619 MB / 0.726 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02314/0.7313, allocations: 4.001 MB / 0.7299 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.7324, allocations: 488 kB / 0.7303 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.7326, allocations: 16.75 kB / 0.7304 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.7326, allocations: 45.59 kB / 0.7304 GB, free: 10.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.7326, allocations: 0 / 0.7304 GB, free: 10.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.006885/0.7395, allocations: 2.133 MB / 0.7325 GB, free: 8.605 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.7396, allocations: 115.6 kB / 0.7326 GB, free: 8.469 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.741, allocations: 0.9367 MB / 0.7335 GB, free: 7.793 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.7411, allocations: 42.14 kB / 0.7335 GB, free: 7.758 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.7415, allocations: 482 kB / 0.734 GB, free: 7.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.7418, allocations: 271.9 kB / 0.7343 GB, free: 7.266 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.7418, allocations: 17.94 kB / 0.7343 GB, free: 7.262 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.742, allocations: 348 kB / 0.7346 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.7427, allocations: 426.3 kB / 0.735 GB, free: 6.711 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.7434, allocations: 0.5337 MB / 0.7355 GB, free: 6.367 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.7442, allocations: 468.5 kB / 0.736 GB, free: 6.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7442, allocations: 4 kB / 0.736 GB, free: 6.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007284/0.7515, allocations: 2.403 MB / 0.7383 GB, free: 4.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.7517, allocations: 0.6187 MB / 0.7389 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7517, allocations: 0 / 0.7389 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003916/0.7557, allocations: 1.017 MB / 0.7399 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7567, allocations: 166.5 kB / 0.7401 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00834/0.765, allocations: 4.444 MB / 0.7444 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.7667, allocations: 183.1 kB / 0.7446 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.7668, allocations: 28 kB / 0.7446 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.7668, allocations: 4 kB / 0.7446 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006433/0.7733, allocations: 2.269 MB / 0.7469 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.7733, allocations: 0 / 0.7469 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003871/0.7772, allocations: 1.013 MB / 0.7478 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.778, allocations: 155.8 kB / 0.748 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/0.7863, allocations: 4.438 MB / 0.7523 GB, free: 6.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.7878, allocations: 167.2 kB / 0.7525 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.7879, allocations: 27.98 kB / 0.7525 GB, free: 6.762 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.0003158/0.7882, allocations: 148.8 kB / 0.7527 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.7885, allocations: 110.6 kB / 0.7528 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.7944, allocations: 2.243 MB / 0.755 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.7944, allocations: 8 kB / 0.755 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.7944, allocations: 8 kB / 0.755 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.7944, allocations: 3.984 kB / 0.755 GB, free: 4.215 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.007962/0.8024, allocations: 3.838 MB / 0.7587 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.8024, allocations: 0 / 0.7587 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.8032, allocations: 111.9 kB / 0.7588 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/0.8061, allocations: 0.8519 MB / 0.7597 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.8063, allocations: 23.98 kB / 0.7597 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/0.8128, allocations: 3.358 MB / 0.763 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8128, allocations: 0 / 0.763 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/0.8201, allocations: 2.898 MB / 0.7658 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.8207, allocations: 231.5 kB / 0.766 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.8209, allocations: 24 kB / 0.766 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.8221, allocations: 123.9 kB / 0.7662 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.8225, allocations: 140.5 kB / 0.7663 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.8226, allocations: 19.94 kB / 0.7663 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001151/0.8237, allocations: 0.7267 MB / 0.767 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8237, allocations: 4 kB / 0.767 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001618/0.8254, allocations: 0.5538 MB / 0.7676 GB, free: 7.02 MB / 0.4948 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.007167/0.8325, allocations: 3.564 MB / 0.771 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007322/0.8399, allocations: 3.1 MB / 0.7741 GB, free: 196 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8399, allocations: 0 / 0.7741 GB, free: 196 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.8427, allocations: 1.221 MB / 0.7753 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.8438, allocations: 100.4 kB / 0.7754 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.8485, allocations: 2.128 MB / 0.7774 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.8493, allocations: 1.114 MB / 0.7785 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009284/0.8502, allocations: 208.9 kB / 0.7787 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.8508, allocations: 403.3 kB / 0.7791 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.953e-06/0.8508, allocations: 0 / 0.7791 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05896/0.9098, allocations: 33.18 MB / 0.8115 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.91, allocations: 193.7 kB / 0.8117 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.897, allocations: 0 / 0.8117 GB, free: 9.629 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)