Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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_1.Network3,fileNamePrefix="OpenIPSL_release_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_release_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 4.0.0+maint.om/package.mo): time 0.006412/0.006413, 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 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 239 MB, free: 1.809 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.0009211/0.0009209, allocations: 100.8 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4559/0.4559, allocations: 78.59 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 8 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4, allocations: 69.34 MB / 0.5559 GB, free: 39.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.5421, allocations: 109.6 MB / 0.6629 GB, free: 12.87 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5424, allocations: 87.95 kB / 0.663 GB, free: 12.78 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1303/0.6728, allocations: 46.09 MB / 0.708 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6728, allocations: 0 / 0.708 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002358/0.6731, allocations: 47.88 kB / 0.7081 GB, free: 14.44 MB / 0.5105 GB 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.008321/0.6814, allocations: 2.586 MB / 0.7106 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.6815, allocations: 12.03 kB / 0.7106 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005989/0.6821, allocations: 168.8 kB / 0.7108 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.6847, allocations: 449.1 kB / 0.7112 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.6887, allocations: 1.473 MB / 0.7127 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005011/0.6893, allocations: 385.6 kB / 0.713 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.6895, allocations: 119.9 kB / 0.7131 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.6928, allocations: 1.588 MB / 0.7147 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6929, allocations: 0 / 0.7147 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.693, allocations: 44 kB / 0.7147 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.693, allocations: 28 kB / 0.7148 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/0.6964, allocations: 1.535 MB / 0.7163 GB, free: 5.816 MB / 0.5105 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.01118/0.7076, allocations: 5.947 MB / 0.7221 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/0.7259, allocations: 4.976 MB / 0.7269 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.7262, allocations: 20.92 kB / 0.7269 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.7263, allocations: 55.56 kB / 0.727 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 6.152e-06/0.7263, allocations: 0 / 0.727 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124): time 0.02378/0.7501, allocations: 8.415 MB / 0.7352 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7502, allocations: 222.6 kB / 0.7354 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.7537, allocations: 1.577 MB / 0.737 GB, free: 156 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000305/0.754, allocations: 49.64 kB / 0.737 GB, free: 100 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.7547, allocations: 0.7341 MB / 0.7377 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/0.7552, allocations: 453.4 kB / 0.7382 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.7554, allocations: 32 kB / 0.7382 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7555, allocations: 361.9 kB / 0.7385 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.7575, allocations: 0.8902 MB / 0.7394 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.7597, allocations: 1.078 MB / 0.7405 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.7619, allocations: 0.9994 MB / 0.7414 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7619, allocations: 0 / 0.7414 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.008122/0.77, allocations: 3.325 MB / 0.7447 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003977/0.7704, allocations: 1.032 MB / 0.7457 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7705, allocations: 3.984 kB / 0.7457 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007745/0.7782, allocations: 2.285 MB / 0.7479 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.7793, allocations: 195.7 kB / 0.7481 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00719/0.7865, allocations: 3.509 MB / 0.7515 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.7889, allocations: 231.8 kB / 0.7518 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.7891, allocations: 51.98 kB / 0.7518 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7891, allocations: 4 kB / 0.7518 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006717/0.7958, allocations: 2.982 MB / 0.7547 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7959, allocations: 0 / 0.7547 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007177/0.8031, allocations: 2.164 MB / 0.7568 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009703/0.8041, allocations: 203.7 kB / 0.757 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/0.813, allocations: 4.898 MB / 0.7618 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.8154, allocations: 215.8 kB / 0.762 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.8156, allocations: 52.23 kB / 0.7621 GB, free: 5.996 MB / 0.5573 GB 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.001098/0.8167, allocations: 461.6 kB / 0.7625 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/0.8172, allocations: 185.7 kB / 0.7627 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009999/0.8273, allocations: 3.581 MB / 0.7662 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.8273, allocations: 15.98 kB / 0.7662 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.8273, allocations: 11.95 kB / 0.7662 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.214e-05/0.8274, allocations: 7.984 kB / 0.7662 GB, free: 1.703 MB / 0.5573 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.2845/1.112, allocations: 5.934 MB / 0.772 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.112, allocations: 0 / 0.772 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.115, allocations: 0.498 MB / 0.7725 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004662/1.12, allocations: 1.328 MB / 0.7738 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/1.12, allocations: 35 kB / 0.7738 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/1.137, allocations: 10.52 MB / 0.7841 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.137, allocations: 2.531 kB / 0.7841 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.149, allocations: 4.775 MB / 0.7888 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/1.15, allocations: 284.6 kB / 0.789 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/1.15, allocations: 36.39 kB / 0.7891 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.152, allocations: 222 kB / 0.7893 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/1.153, allocations: 211.8 kB / 0.7895 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/1.153, allocations: 31.88 kB / 0.7895 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002523/1.155, allocations: 1.251 MB / 0.7907 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.155, allocations: 0 / 0.7907 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002195/1.158, allocations: 0.6562 MB / 0.7914 GB, free: 129.7 MB / 0.5573 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.01158/1.169, allocations: 5.539 MB / 0.7968 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.184, allocations: 5.14 MB / 0.8018 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.184, allocations: 1.375 kB / 0.8018 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006246/1.19, allocations: 2.277 MB / 0.804 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.192, allocations: 184.9 kB / 0.8042 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008137/1.2, allocations: 6.465 MB / 0.8105 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/1.201, allocations: 1.371 MB / 0.8119 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008695/1.201, allocations: 196.4 kB / 0.8121 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/1.202, allocations: 0.6724 MB / 0.8127 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.994e-06/1.202, allocations: 0 / 0.8127 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06616/1.268, allocations: 46.56 MB / 0.8582 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.269, allocations: 228.3 kB / 0.8584 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/4.903, allocations: 0 / 0.8584 GB, free: 112.9 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)