Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_1.Network3,fileNamePrefix="OpenIPSL_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_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.0009336/0.0009335, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.168/1.168, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 85.89 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4038/0.4038, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.05e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2859, allocations: 69.35 MB / 0.5481 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4037, allocations: 109.6 MB / 0.6551 GB, free: 6.805 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.4039, allocations: 91.94 kB / 0.6552 GB, free: 6.715 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3553/0.7592, allocations: 46.02 MB / 0.7001 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.7592, allocations: 0 / 0.7001 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.7593, allocations: 40.61 kB / 0.7001 GB, free: 106.3 MB / 490.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.004081/0.7634, allocations: 2.041 MB / 0.7021 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7635, allocations: 18.53 kB / 0.7021 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.7636, allocations: 171 kB / 0.7023 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.7654, allocations: 442 kB / 0.7027 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.7672, allocations: 1.302 MB / 0.704 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.7676, allocations: 383.5 kB / 0.7044 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.7677, allocations: 127.8 kB / 0.7045 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.7696, allocations: 1.358 MB / 0.7058 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.7697, allocations: 0 / 0.7058 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.7698, allocations: 46.66 kB / 0.7059 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.7698, allocations: 24.28 kB / 0.7059 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.7715, allocations: 1.23 MB / 0.7071 GB, free: 102.5 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.007876/0.7794, allocations: 5.949 MB / 0.7129 GB, free: 97.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.7926, allocations: 4.591 MB / 0.7174 GB, free: 92.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009752/0.7936, allocations: 0.6868 MB / 0.718 GB, free: 91.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.7937, allocations: 16.67 kB / 0.7181 GB, free: 91.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.7938, allocations: 59.55 kB / 0.7181 GB, free: 91.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.115e-06/0.7938, allocations: 0 / 0.7181 GB, free: 91.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.009644/0.8034, allocations: 5.198 MB / 0.7232 GB, free: 86.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8035, allocations: 222.6 kB / 0.7234 GB, free: 86.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.8051, allocations: 1.405 MB / 0.7248 GB, free: 84.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.8052, allocations: 49.7 kB / 0.7248 GB, free: 84.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.8056, allocations: 0.7338 MB / 0.7255 GB, free: 83.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.8059, allocations: 449.2 kB / 0.726 GB, free: 83.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.806, allocations: 32 kB / 0.726 GB, free: 83.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.806, allocations: 361.9 kB / 0.7263 GB, free: 83.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009197/0.807, allocations: 0.6735 MB / 0.727 GB, free: 82.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.808, allocations: 0.8619 MB / 0.7278 GB, free: 81.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.809, allocations: 0.7807 MB / 0.7286 GB, free: 80.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.809, allocations: 0 / 0.7286 GB, free: 80.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004148/0.8132, allocations: 2.681 MB / 0.7312 GB, free: 77.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.8133, allocations: 1.031 MB / 0.7322 GB, free: 76.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.8133, allocations: 4 kB / 0.7322 GB, free: 76.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/0.8183, allocations: 1.86 MB / 0.734 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.8191, allocations: 199.7 kB / 0.7342 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.8229, allocations: 2.99 MB / 0.7372 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.8249, allocations: 239.8 kB / 0.7374 GB, free: 71.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.825, allocations: 47.98 kB / 0.7374 GB, free: 71.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.825, allocations: 5.562 kB / 0.7374 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003839/0.8289, allocations: 2.447 MB / 0.7398 GB, free: 69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8289, allocations: 4 kB / 0.7398 GB, free: 69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004845/0.8338, allocations: 1.836 MB / 0.7416 GB, free: 67.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.8345, allocations: 187.7 kB / 0.7418 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.8398, allocations: 4.31 MB / 0.746 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.8417, allocations: 223.1 kB / 0.7462 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.8418, allocations: 44 kB / 0.7463 GB, free: 62.25 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 () * 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.0002787/0.8421, allocations: 172.8 kB / 0.7464 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.8424, allocations: 177.9 kB / 0.7466 GB, free: 61.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006697/0.8491, allocations: 2.993 MB / 0.7495 GB, free: 58.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.8491, allocations: 12.22 kB / 0.7495 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.8491, allocations: 7.953 kB / 0.7495 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.8491, allocations: 11.91 kB / 0.7496 GB, free: 58.84 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.009138/0.8583, allocations: 5.352 MB / 0.7548 GB, free: 53.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8583, allocations: 0 / 0.7548 GB, free: 53.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/0.861, allocations: 0.5033 MB / 0.7553 GB, free: 52.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/0.8638, allocations: 1.008 MB / 0.7563 GB, free: 51.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.864, allocations: 35.98 kB / 0.7563 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009126/0.8731, allocations: 8.811 MB / 0.7649 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8731, allocations: 3.938 kB / 0.7649 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008693/0.8818, allocations: 3.958 MB / 0.7688 GB, free: 38.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007941/0.8827, allocations: 290.8 kB / 0.769 GB, free: 38.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.8831, allocations: 36 kB / 0.7691 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.8849, allocations: 219.8 kB / 0.7693 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005078/0.8854, allocations: 204.7 kB / 0.7695 GB, free: 37.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.8855, allocations: 35.98 kB / 0.7695 GB, free: 37.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001352/0.8869, allocations: 1.065 MB / 0.7706 GB, free: 36.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8869, allocations: 0 / 0.7706 GB, free: 36.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001875/0.8888, allocations: 0.6602 MB / 0.7712 GB, free: 36.02 MB / 490.7 MB 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 () * 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.008116/0.8969, allocations: 4.742 MB / 0.7758 GB, free: 31.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01028/0.9072, allocations: 4.584 MB / 0.7803 GB, free: 26.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.9073, allocations: 0 / 0.7803 GB, free: 26.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004895/0.9122, allocations: 2.043 MB / 0.7823 GB, free: 24.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.9138, allocations: 189.1 kB / 0.7825 GB, free: 24.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.9195, allocations: 3.225 MB / 0.7856 GB, free: 20.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.9201, allocations: 1.375 MB / 0.787 GB, free: 19.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001193/0.9213, allocations: 342.1 kB / 0.7873 GB, free: 19.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/0.9221, allocations: 0.6593 MB / 0.7879 GB, free: 18.54 MB / 490.7 MB Notification: Performance of SimCode: time 8.91e-07/0.9221, allocations: 0 / 0.7879 GB, free: 18.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07523/0.9973, allocations: 49.89 MB / 0.8367 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.9976, allocations: 190.9 kB / 0.8368 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/4.419, allocations: 0 / 0.8368 GB, free: 0.7031 MB / 0.5105 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)