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.001004/0.001004, 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.36/1.36, 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.0008937/0.0008934, allocations: 97.84 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4353/0.4353, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.627e-05, allocations: 0 / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 69.34 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4482, allocations: 109.6 MB / 0.6551 GB, free: 6.934 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4485, allocations: 79.95 kB / 0.6552 GB, free: 6.855 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4113/0.8598, allocations: 46.03 MB / 0.7001 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8599, allocations: 0 / 0.7001 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002485/0.8602, allocations: 47.7 kB / 0.7002 GB, free: 106.1 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.005737/0.8659, allocations: 2.034 MB / 0.7022 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.866, allocations: 12.59 kB / 0.7022 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004414/0.8664, allocations: 170.8 kB / 0.7023 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.8688, allocations: 450.2 kB / 0.7028 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.8714, allocations: 1.299 MB / 0.704 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.8719, allocations: 382.7 kB / 0.7044 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.8722, allocations: 121.7 kB / 0.7045 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.8745, allocations: 1.362 MB / 0.7058 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.8746, allocations: 0 / 0.7058 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.8747, allocations: 39.91 kB / 0.7059 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.8747, allocations: 31.06 kB / 0.7059 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.8768, allocations: 1.236 MB / 0.7071 GB, free: 102.4 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.01007/0.8869, allocations: 5.945 MB / 0.7129 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.9009, allocations: 4.595 MB / 0.7174 GB, free: 92.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.9023, allocations: 0.6815 MB / 0.7181 GB, free: 91.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.9025, allocations: 23.42 kB / 0.7181 GB, free: 91.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9026, allocations: 43.56 kB / 0.7181 GB, free: 91.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.857e-06/0.9026, allocations: 0 / 0.7181 GB, free: 91.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01205/0.9146, allocations: 5.211 MB / 0.7232 GB, free: 86.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.9147, allocations: 222.6 kB / 0.7234 GB, free: 86.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.9172, allocations: 1.409 MB / 0.7248 GB, free: 84.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003404/0.9176, allocations: 45.7 kB / 0.7249 GB, free: 84.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.9182, allocations: 0.7251 MB / 0.7256 GB, free: 84.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005726/0.9188, allocations: 450.6 kB / 0.726 GB, free: 83.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.9189, allocations: 32 kB / 0.726 GB, free: 83.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9191, allocations: 365.9 kB / 0.7264 GB, free: 83.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.9203, allocations: 0.6718 MB / 0.727 GB, free: 82.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.9215, allocations: 0.8581 MB / 0.7279 GB, free: 81.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.9227, allocations: 0.7807 MB / 0.7286 GB, free: 80.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.9227, allocations: 0 / 0.7286 GB, free: 80.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00486/0.9276, allocations: 2.679 MB / 0.7313 GB, free: 78.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.9278, allocations: 1.037 MB / 0.7323 GB, free: 77.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.9278, allocations: 4 kB / 0.7323 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005679/0.9335, allocations: 1.867 MB / 0.7341 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/0.9344, allocations: 195.7 kB / 0.7343 GB, free: 75.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.9386, allocations: 2.997 MB / 0.7372 GB, free: 72.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.9408, allocations: 231.9 kB / 0.7374 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.941, allocations: 51.98 kB / 0.7375 GB, free: 71.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.941, allocations: 7.938 kB / 0.7375 GB, free: 71.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004256/0.9453, allocations: 2.446 MB / 0.7399 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9453, allocations: 4 kB / 0.7399 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/0.9506, allocations: 1.825 MB / 0.7417 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.9514, allocations: 191.7 kB / 0.7418 GB, free: 67.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.9572, allocations: 4.314 MB / 0.7461 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.9593, allocations: 215.8 kB / 0.7463 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.9595, allocations: 44 kB / 0.7463 GB, free: 62.53 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.0003366/0.9598, allocations: 176.8 kB / 0.7465 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/0.9603, allocations: 177.8 kB / 0.7466 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/0.9675, allocations: 2.993 MB / 0.7496 GB, free: 59.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9675, allocations: 12.06 kB / 0.7496 GB, free: 59.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.9675, allocations: 16.11 kB / 0.7496 GB, free: 59.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.9675, allocations: 7.266 kB / 0.7496 GB, free: 59.12 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.01014/0.9777, allocations: 5.35 MB / 0.7548 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.9777, allocations: 4 kB / 0.7548 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/0.9805, allocations: 0.4994 MB / 0.7553 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.9834, allocations: 1 MB / 0.7563 GB, free: 52.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.9836, allocations: 39.98 kB / 0.7563 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009458/0.9931, allocations: 8.81 MB / 0.7649 GB, free: 42.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9931, allocations: 0 / 0.7649 GB, free: 42.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008561/1.002, allocations: 3.967 MB / 0.7688 GB, free: 38.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.002, allocations: 290.8 kB / 0.7691 GB, free: 38.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/1.003, allocations: 28 kB / 0.7691 GB, free: 38.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.005, allocations: 219.8 kB / 0.7693 GB, free: 38.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.005, allocations: 216.6 kB / 0.7695 GB, free: 38.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.006, allocations: 32 kB / 0.7696 GB, free: 38.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001702/1.007, allocations: 1.065 MB / 0.7706 GB, free: 36.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.007, allocations: 0 / 0.7706 GB, free: 36.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002379/1.01, allocations: 0.6602 MB / 0.7712 GB, free: 36.29 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.008941/1.019, allocations: 4.734 MB / 0.7759 GB, free: 31.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01116/1.03, allocations: 4.58 MB / 0.7803 GB, free: 26.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.03, allocations: 384 / 0.7803 GB, free: 26.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005078/1.035, allocations: 2.055 MB / 0.7823 GB, free: 24.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.037, allocations: 188.8 kB / 0.7825 GB, free: 24.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/1.046, allocations: 3.217 MB / 0.7857 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.047, allocations: 1.379 MB / 0.787 GB, free: 19.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00177/1.049, allocations: 331.1 kB / 0.7873 GB, free: 19.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009074/1.05, allocations: 0.6594 MB / 0.788 GB, free: 18.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/1.05, allocations: 0 / 0.788 GB, free: 18.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08021/1.13, allocations: 49.91 MB / 0.8367 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.13, allocations: 198.5 kB / 0.8369 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.639, allocations: 2.109 kB / 0.8369 GB, free: 0.9336 MB / 0.5105 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)