Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001015/0.001015, allocations: 174.7 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.159/1.159, allocations: 221.4 MB / 234.6 MB, free: 14.47 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.0008187/0.0008189, allocations: 98.22 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4267/0.4267, allocations: 78.89 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.631e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 69.5 MB / 0.5492 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4473, allocations: 110.3 MB / 0.6569 GB, free: 5.316 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4476, allocations: 83.95 kB / 0.657 GB, free: 5.234 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3844/0.832, allocations: 44.28 MB / 0.7002 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.832, allocations: 3.969 kB / 0.7002 GB, free: 106.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.8321, allocations: 39.11 kB / 0.7003 GB, free: 106.7 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.004133/0.8363, allocations: 2.046 MB / 0.7023 GB, free: 105.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8363, allocations: 11.47 kB / 0.7023 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.8365, allocations: 170.4 kB / 0.7024 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.8394, allocations: 0.6546 MB / 0.7031 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.8414, allocations: 1.376 MB / 0.7044 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.8418, allocations: 383.4 kB / 0.7048 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.8419, allocations: 121.9 kB / 0.7049 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.8438, allocations: 1.359 MB / 0.7062 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.8438, allocations: 0 / 0.7062 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.844, allocations: 47.75 kB / 0.7063 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.844, allocations: 27.03 kB / 0.7063 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.8457, allocations: 1.228 MB / 0.7075 GB, free: 102.3 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.008128/0.8538, allocations: 6.091 MB / 0.7135 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.8669, allocations: 4.587 MB / 0.7179 GB, free: 91.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009341/0.8679, allocations: 0.6785 MB / 0.7186 GB, free: 90.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.868, allocations: 27.58 kB / 0.7186 GB, free: 90.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.8681, allocations: 51.5 kB / 0.7187 GB, free: 90.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.076e-06/0.8681, allocations: 0 / 0.7187 GB, free: 90.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.009522/0.8776, allocations: 5.206 MB / 0.7238 GB, free: 85.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.8777, allocations: 226.6 kB / 0.724 GB, free: 85.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.8793, allocations: 1.487 MB / 0.7254 GB, free: 83.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.8794, allocations: 53.7 kB / 0.7255 GB, free: 83.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.8798, allocations: 0.7286 MB / 0.7262 GB, free: 83.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.88, allocations: 450.6 kB / 0.7266 GB, free: 82.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.8801, allocations: 24 kB / 0.7266 GB, free: 82.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.8802, allocations: 369.9 kB / 0.727 GB, free: 82.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008915/0.8811, allocations: 0.664 MB / 0.7276 GB, free: 81.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.8821, allocations: 0.8542 MB / 0.7285 GB, free: 80.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.8831, allocations: 0.7846 MB / 0.7292 GB, free: 79.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8831, allocations: 0 / 0.7292 GB, free: 79.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004081/0.8872, allocations: 2.681 MB / 0.7319 GB, free: 77.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.8874, allocations: 1.037 MB / 0.7329 GB, free: 76.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8874, allocations: 11.94 kB / 0.7329 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005064/0.8925, allocations: 1.867 MB / 0.7347 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.8933, allocations: 191.7 kB / 0.7349 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.8971, allocations: 2.997 MB / 0.7378 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.8992, allocations: 231.8 kB / 0.738 GB, free: 70.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.8993, allocations: 51.98 kB / 0.7381 GB, free: 70.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.8993, allocations: 0 / 0.7381 GB, free: 70.65 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003783/0.9031, allocations: 2.447 MB / 0.7405 GB, free: 68.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.9031, allocations: 8.125 kB / 0.7405 GB, free: 68.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004903/0.908, allocations: 1.831 MB / 0.7423 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.9089, allocations: 195.7 kB / 0.7425 GB, free: 66.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/0.9142, allocations: 4.307 MB / 0.7467 GB, free: 61.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.9162, allocations: 219.8 kB / 0.7469 GB, free: 61.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9163, allocations: 48 kB / 0.7469 GB, free: 61.43 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.0002817/0.9166, allocations: 170 kB / 0.7471 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.9169, allocations: 181.8 kB / 0.7473 GB, free: 61.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/0.9235, allocations: 2.991 MB / 0.7502 GB, free: 58.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.9235, allocations: 16 kB / 0.7502 GB, free: 58.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9235, allocations: 12.17 kB / 0.7502 GB, free: 58.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.9236, allocations: 7.969 kB / 0.7502 GB, free: 58.01 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.008931/0.9325, allocations: 5.419 MB / 0.7555 GB, free: 52.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9325, allocations: 4 kB / 0.7555 GB, free: 52.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/0.9352, allocations: 0.5027 MB / 0.756 GB, free: 52.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/0.9379, allocations: 1.005 MB / 0.757 GB, free: 51.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.9381, allocations: 35.98 kB / 0.757 GB, free: 50.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008817/0.9469, allocations: 8.815 MB / 0.7656 GB, free: 41.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9469, allocations: 0 / 0.7656 GB, free: 41.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007673/0.9546, allocations: 3.968 MB / 0.7695 GB, free: 37.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.9552, allocations: 306.7 kB / 0.7698 GB, free: 37.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.9554, allocations: 39.98 kB / 0.7698 GB, free: 37.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.9571, allocations: 215.8 kB / 0.77 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/0.9575, allocations: 208.6 kB / 0.7702 GB, free: 36.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.9576, allocations: 39.98 kB / 0.7703 GB, free: 36.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.959, allocations: 1.135 MB / 0.7714 GB, free: 35.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.959, allocations: 0 / 0.7714 GB, free: 35.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001532/0.9605, allocations: 0.6718 MB / 0.772 GB, free: 35.01 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.007622/0.9681, allocations: 4.729 MB / 0.7767 GB, free: 30.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009548/0.9777, allocations: 4.584 MB / 0.7811 GB, free: 25.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.9777, allocations: 0 / 0.7811 GB, free: 25.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00467/0.9824, allocations: 2.04 MB / 0.7831 GB, free: 23.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.9841, allocations: 186.7 kB / 0.7833 GB, free: 23.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/0.9902, allocations: 3.227 MB / 0.7865 GB, free: 19.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.9908, allocations: 1.375 MB / 0.7878 GB, free: 18.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.992, allocations: 335 kB / 0.7881 GB, free: 18.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/0.9927, allocations: 0.6555 MB / 0.7888 GB, free: 17.55 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9927, allocations: 0 / 0.7888 GB, free: 17.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/1.061, allocations: 50.51 MB / 0.8381 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.061, allocations: 189.5 kB / 0.8383 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.438, allocations: 0 / 0.8383 GB, free: 15.06 MB / 0.5261 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)