Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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_1.Network3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",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.007785/0.007785, allocations: 170.4 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.49/1.49, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008335/0.0008335, allocations: 82.88 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06718/0.06718, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4256/0.4256, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004993, allocations: 22.94 kB / 0.528 GB, free: 35.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1195, allocations: 69.23 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.5081, allocations: 111.3 MB / 0.7043 GB, free: 33.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5084, allocations: 84.33 kB / 0.7044 GB, free: 33.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.6209, allocations: 45.32 MB / 0.7486 GB, free: 23.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6209, allocations: 0 / 0.7486 GB, free: 23.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002451/0.6211, allocations: 43.06 kB / 0.7487 GB, free: 23.49 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.007829/0.629, allocations: 2.587 MB / 0.7512 GB, free: 21.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.629, allocations: 15.58 kB / 0.7512 GB, free: 21.95 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000612/0.6297, allocations: 166.5 kB / 0.7514 GB, free: 21.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.632, allocations: 456.4 kB / 0.7518 GB, free: 21.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.6356, allocations: 1.485 MB / 0.7533 GB, free: 21.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.6361, allocations: 386.1 kB / 0.7536 GB, free: 20.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.6365, allocations: 120.5 kB / 0.7538 GB, free: 20.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.6395, allocations: 1.579 MB / 0.7553 GB, free: 20.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.6396, allocations: 3.938 kB / 0.7553 GB, free: 20.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.6397, allocations: 49.58 kB / 0.7554 GB, free: 20.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6398, allocations: 27.16 kB / 0.7554 GB, free: 20.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.643, allocations: 1.536 MB / 0.7569 GB, free: 19.99 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.01017/0.6531, allocations: 5.958 MB / 0.7627 GB, free: 17.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/0.6676, allocations: 4.978 MB / 0.7676 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.6679, allocations: 20.25 kB / 0.7676 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6679, allocations: 49.31 kB / 0.7676 GB, free: 15.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=120): time 3.637e-06/0.6679, allocations: 0 / 0.7676 GB, free: 15.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=124): time 0.0218/0.6897, allocations: 8.405 MB / 0.7758 GB, free: 13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.6898, allocations: 222.1 kB / 0.776 GB, free: 12.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.6929, allocations: 1.588 MB / 0.7776 GB, free: 12.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.6932, allocations: 51.05 kB / 0.7776 GB, free: 12.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.6936, allocations: 0.7349 MB / 0.7784 GB, free: 12.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/0.6941, allocations: 456 kB / 0.7788 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.6942, allocations: 29.81 kB / 0.7788 GB, free: 11.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6944, allocations: 369.1 kB / 0.7792 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.6962, allocations: 0.8941 MB / 0.78 GB, free: 11.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.6981, allocations: 1.074 MB / 0.7811 GB, free: 10.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.7002, allocations: 1.007 MB / 0.7821 GB, free: 10.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7002, allocations: 0 / 0.7821 GB, free: 10.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.007144/0.7073, allocations: 3.319 MB / 0.7853 GB, free: 7.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.7076, allocations: 1.038 MB / 0.7863 GB, free: 6.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.7076, allocations: 0 / 0.7863 GB, free: 6.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/0.7142, allocations: 2.293 MB / 0.7886 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.7151, allocations: 195.7 kB / 0.7888 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.7208, allocations: 3.508 MB / 0.7922 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.723, allocations: 227.8 kB / 0.7924 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.7232, allocations: 51.98 kB / 0.7925 GB, free: 15.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7232, allocations: 5.875 kB / 0.7925 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006434/0.7297, allocations: 2.981 MB / 0.7954 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7297, allocations: 4 kB / 0.7954 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006799/0.7365, allocations: 2.168 MB / 0.7975 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.7375, allocations: 195.7 kB / 0.7977 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008551/0.746, allocations: 4.9 MB / 0.8025 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.7487, allocations: 211.8 kB / 0.8027 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.749, allocations: 51.98 kB / 0.8027 GB, free: 5.281 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.001273/0.7503, allocations: 465.1 kB / 0.8032 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.7509, allocations: 177.8 kB / 0.8033 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009699/0.7606, allocations: 3.585 MB / 0.8068 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.7607, allocations: 16 kB / 0.8068 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.7607, allocations: 8 kB / 0.8069 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/0.7607, allocations: 3.984 kB / 0.8069 GB, free: 1.004 MB / 490.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.01344/0.7742, allocations: 5.939 MB / 0.8127 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.7742, allocations: 4.062 kB / 0.8127 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/0.7768, allocations: 0.4994 MB / 0.8131 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.7809, allocations: 1.327 MB / 0.8144 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.7811, allocations: 39.98 kB / 0.8145 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.7973, allocations: 10.51 MB / 0.8247 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.7974, allocations: 7.922 kB / 0.8247 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.8096, allocations: 4.776 MB / 0.8294 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/0.8105, allocations: 290.8 kB / 0.8297 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006868/0.8112, allocations: 36.16 kB / 0.8297 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.8135, allocations: 223.7 kB / 0.8299 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007764/0.8143, allocations: 208.6 kB / 0.8301 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.8145, allocations: 35.98 kB / 0.8302 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003374/0.8178, allocations: 1.256 MB / 0.8314 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8179, allocations: 4 kB / 0.8314 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003257/0.8211, allocations: 0.6562 MB / 0.832 GB, free: 6.539 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/0.8333, allocations: 5.531 MB / 0.8374 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01336/0.8467, allocations: 5.144 MB / 0.8425 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8467, allocations: 384 / 0.8425 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005932/0.8527, allocations: 2.27 MB / 0.8447 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.8548, allocations: 194.4 kB / 0.8449 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.8659, allocations: 6.459 MB / 0.8512 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.8671, allocations: 1.384 MB / 0.8525 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001005/0.8682, allocations: 189.9 kB / 0.8527 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.8693, allocations: 0.6828 MB / 0.8534 GB, free: 312 kB / 0.5261 GB Notification: Performance of SimCode: time 5.621e-06/0.8693, allocations: 0 / 0.8534 GB, free: 312 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07441/0.9437, allocations: 46.65 MB / 0.8989 GB, free: 1.863 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.944, allocations: 222 kB / 0.8991 GB, free: 1.621 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/4.366, allocations: 0 / 0.8991 GB, free: 1.621 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)