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.009274/0.009274, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.425/1.425, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008768/0.0008767, allocations: 94.81 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06397/0.06397, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3989/0.3989, allocations: 78.53 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005061, allocations: 24.38 kB / 0.528 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 69.24 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4456, allocations: 102.6 MB / 0.6958 GB, free: 35.67 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.4458, allocations: 85.28 kB / 0.6959 GB, free: 35.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07353/0.5194, allocations: 29.26 MB / 0.7245 GB, free: 33.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5194, allocations: 0 / 0.7245 GB, free: 33.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.668e-05/0.5195, allocations: 24.53 kB / 0.7245 GB, free: 33.29 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.00446/0.524, allocations: 1.825 MB / 0.7263 GB, free: 32.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.524, allocations: 15.67 kB / 0.7263 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.5242, allocations: 106.3 kB / 0.7264 GB, free: 32.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.5263, allocations: 418 kB / 0.7268 GB, free: 32.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.5279, allocations: 0.96 MB / 0.7278 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.5281, allocations: 246 kB / 0.728 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5283, allocations: 68.25 kB / 0.7281 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.5299, allocations: 1.008 MB / 0.729 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5299, allocations: 0 / 0.729 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/0.53, allocations: 28.41 kB / 0.7291 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.53, allocations: 15.62 kB / 0.7291 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.5317, allocations: 0.9655 MB / 0.73 GB, free: 31.68 MB / 474.7 MB 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.005202/0.5369, allocations: 3.629 MB / 0.7336 GB, free: 30.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.55, allocations: 4.283 MB / 0.7378 GB, free: 30.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.5501, allocations: 12.38 kB / 0.7378 GB, free: 30.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5502, allocations: 38.81 kB / 0.7378 GB, free: 30.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/0.5502, allocations: 4 kB / 0.7378 GB, free: 30.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01273/0.5629, allocations: 4.688 MB / 0.7424 GB, free: 29.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.563, allocations: 111.3 kB / 0.7425 GB, free: 29.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.5647, allocations: 1.029 MB / 0.7435 GB, free: 29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.5649, allocations: 36.64 kB / 0.7435 GB, free: 28.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.5652, allocations: 477.6 kB / 0.744 GB, free: 28.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.5654, allocations: 275.5 kB / 0.7443 GB, free: 28.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.5654, allocations: 14.44 kB / 0.7443 GB, free: 28.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.5655, allocations: 336.2 kB / 0.7446 GB, free: 28.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.5665, allocations: 0.5748 MB / 0.7451 GB, free: 28.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.5675, allocations: 0.683 MB / 0.7458 GB, free: 27.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.5685, allocations: 0.6084 MB / 0.7464 GB, free: 27.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5685, allocations: 0 / 0.7464 GB, free: 27.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006729/0.5753, allocations: 2.82 MB / 0.7492 GB, free: 27.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.5754, allocations: 0.6268 MB / 0.7498 GB, free: 26.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5754, allocations: 0 / 0.7498 GB, free: 26.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/0.5794, allocations: 1.236 MB / 0.751 GB, free: 26.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.5803, allocations: 158.4 kB / 0.7511 GB, free: 26.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009368/0.5897, allocations: 5.579 MB / 0.7566 GB, free: 23.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.5912, allocations: 178 kB / 0.7568 GB, free: 23.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.5913, allocations: 30.8 kB / 0.7568 GB, free: 23.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.5914, allocations: 3.906 kB / 0.7568 GB, free: 23.82 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00653/0.5979, allocations: 2.628 MB / 0.7594 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5979, allocations: 3.969 kB / 0.7594 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/0.6019, allocations: 1.239 MB / 0.7606 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/0.6027, allocations: 148.1 kB / 0.7607 GB, free: 22.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00927/0.612, allocations: 5.585 MB / 0.7662 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6135, allocations: 156.7 kB / 0.7663 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.6136, allocations: 31.42 kB / 0.7663 GB, free: 20.48 MB / 474.7 MB 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.000568/0.6142, allocations: 348.8 kB / 0.7667 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.6144, allocations: 109.6 kB / 0.7668 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/0.6204, allocations: 2.645 MB / 0.7694 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6204, allocations: 11.8 kB / 0.7694 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6204, allocations: 3.906 kB / 0.7694 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.6204, allocations: 7.984 kB / 0.7694 GB, free: 19.49 MB / 474.7 MB 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.008112/0.6285, allocations: 4.24 MB / 0.7735 GB, free: 17.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6286, allocations: 3.938 kB / 0.7735 GB, free: 17.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.6293, allocations: 115.9 kB / 0.7736 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/0.6323, allocations: 1.077 MB / 0.7747 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.6325, allocations: 19.45 kB / 0.7747 GB, free: 17.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/0.6398, allocations: 4.278 MB / 0.7789 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6398, allocations: 7.906 kB / 0.7789 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007509/0.6473, allocations: 3.441 MB / 0.7823 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.6478, allocations: 236.4 kB / 0.7825 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.6479, allocations: 18.81 kB / 0.7825 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.6491, allocations: 131 kB / 0.7826 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.6494, allocations: 138.4 kB / 0.7828 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.6495, allocations: 19.69 kB / 0.7828 GB, free: 13.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.6508, allocations: 0.8104 MB / 0.7836 GB, free: 12.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6508, allocations: 4 kB / 0.7836 GB, free: 12.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001367/0.6522, allocations: 0.5534 MB / 0.7841 GB, free: 12 MB / 474.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 () * 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.007537/0.6597, allocations: 4.106 MB / 0.7881 GB, free: 7.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007254/0.667, allocations: 3.505 MB / 0.7915 GB, free: 4.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6671, allocations: 0 / 0.7915 GB, free: 4.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.6699, allocations: 1.377 MB / 0.7929 GB, free: 2.867 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6711, allocations: 101.5 kB / 0.793 GB, free: 2.766 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.6766, allocations: 4.33 MB / 0.7972 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.6774, allocations: 1.105 MB / 0.7983 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006632/0.678, allocations: 121.9 kB / 0.7984 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.6786, allocations: 415.3 kB / 0.7988 GB, free: 12.69 MB / 490.7 MB Notification: Performance of SimCode: time 3.206e-06/0.6786, allocations: 4 kB / 0.7988 GB, free: 12.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.7279, allocations: 31.12 MB / 0.8292 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.7282, allocations: 224.8 kB / 0.8294 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.467, allocations: 0 / 0.8294 GB, free: 13.52 MB / 0.5105 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)