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.00139/0.00139, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008552/0.0008552, allocations: 94.03 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4647/0.4647, allocations: 78.13 MB / 409.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.452e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 69.36 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4954, allocations: 108.9 MB / 0.6478 GB, free: 6.652 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4957, allocations: 85 kB / 0.6479 GB, free: 6.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1255/0.6212, allocations: 45.53 MB / 0.6923 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6213, allocations: 4 kB / 0.6923 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001485/0.6214, allocations: 43.92 kB / 0.6924 GB, free: 9.074 MB / 0.4948 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.004879/0.6263, allocations: 2.039 MB / 0.6944 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6264, allocations: 8.031 kB / 0.6944 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.6284, allocations: 446.9 kB / 0.6948 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.6308, allocations: 1.306 MB / 0.6961 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.6312, allocations: 345.4 kB / 0.6964 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.6314, allocations: 75.91 kB / 0.6965 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002082/0.6335, allocations: 1.172 MB / 0.6976 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.6356, allocations: 1.206 MB / 0.6988 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6356, allocations: 0 / 0.6988 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6357, allocations: 0 / 0.6988 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.6358, allocations: 28 kB / 0.6988 GB, free: 2.234 MB / 0.4948 GB 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.009711/0.6455, allocations: 5.738 MB / 0.7044 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02664/0.6721, allocations: 4.546 MB / 0.7089 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.6744, allocations: 0.6516 MB / 0.7095 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.6746, allocations: 25.3 kB / 0.7095 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.6747, allocations: 45 kB / 0.7096 GB, free: 7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 6.753e-06/0.6747, allocations: 0 / 0.7096 GB, free: 7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.021/0.6957, allocations: 5.031 MB / 0.7145 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.6959, allocations: 226.9 kB / 0.7147 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.699, allocations: 1.258 MB / 0.7159 GB, free: 360 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.6994, allocations: 29.7 kB / 0.716 GB, free: 324 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/0.7002, allocations: 0.7376 MB / 0.7167 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000648/0.7009, allocations: 437.5 kB / 0.7171 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.701, allocations: 0 / 0.7171 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.7012, allocations: 361.9 kB / 0.7174 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.703, allocations: 0.6328 MB / 0.7181 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.705, allocations: 0.8074 MB / 0.7188 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.7072, allocations: 0.7258 MB / 0.7196 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.7072, allocations: 0 / 0.7196 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01063/0.7179, allocations: 2.827 MB / 0.7223 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005214/0.7184, allocations: 1.028 MB / 0.7233 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.7185, allocations: 8 kB / 0.7233 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008354/0.7268, allocations: 1.739 MB / 0.725 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7279, allocations: 179.8 kB / 0.7252 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.7338, allocations: 3.137 MB / 0.7283 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.7364, allocations: 203.8 kB / 0.7285 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.7365, allocations: 51.92 kB / 0.7285 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7366, allocations: 8 kB / 0.7285 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006654/0.7432, allocations: 2.554 MB / 0.731 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7433, allocations: 4 kB / 0.731 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00545/0.7487, allocations: 1.696 MB / 0.7327 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.7496, allocations: 195 kB / 0.7329 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.7562, allocations: 4.361 MB / 0.7371 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.7583, allocations: 187.9 kB / 0.7373 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.7585, allocations: 49.69 kB / 0.7373 GB, free: 10.02 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.G1.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real 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 (111): * Single equations (assignments): 106 * 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.0003956/0.7589, allocations: 132 kB / 0.7375 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007342/0.7663, allocations: 2.791 MB / 0.7402 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000806/0.7671, allocations: 165.9 kB / 0.7403 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00768/0.7748, allocations: 2.903 MB / 0.7432 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.7749, allocations: 15.94 kB / 0.7432 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.7749, allocations: 4 kB / 0.7432 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.7749, allocations: 7.969 kB / 0.7432 GB, free: 3.949 MB / 0.5417 GB 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.01067/0.7856, allocations: 5.122 MB / 0.7482 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7856, allocations: 7.234 kB / 0.7482 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/0.7886, allocations: 0.4994 MB / 0.7487 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/0.7916, allocations: 0.9891 MB / 0.7497 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.7918, allocations: 19.98 kB / 0.7497 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.8025, allocations: 8.572 MB / 0.7581 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8026, allocations: 4.031 kB / 0.7581 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009058/0.8117, allocations: 3.86 MB / 0.7618 GB, free: 284 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2655/1.077, allocations: 270.5 kB / 0.7621 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008341/1.078, allocations: 13.36 kB / 0.7621 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.08, allocations: 198.9 kB / 0.7623 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005443/1.081, allocations: 208.6 kB / 0.7625 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/1.081, allocations: 34.92 kB / 0.7625 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001348/1.082, allocations: 0.946 MB / 0.7635 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.62e-07/1.082, allocations: 0 / 0.7635 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002029/1.084, allocations: 0.572 MB / 0.764 GB, free: 137.1 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 () * 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.008371/1.093, allocations: 4.612 MB / 0.7685 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.103, allocations: 4.431 MB / 0.7728 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.104, allocations: 3.719 kB / 0.7728 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005498/1.109, allocations: 1.991 MB / 0.7748 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.111, allocations: 160.4 kB / 0.7749 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/1.117, allocations: 3.112 MB / 0.778 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/1.118, allocations: 1.38 MB / 0.7793 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001332/1.119, allocations: 325.2 kB / 0.7796 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/1.12, allocations: 0.6465 MB / 0.7803 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/1.12, allocations: 0 / 0.7803 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08487/1.205, allocations: 45.49 MB / 0.8247 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.205, allocations: 148.8 kB / 0.8248 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/4.707, allocations: 2.078 kB / 0.8248 GB, free: 131.4 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)