Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001293/0.001294, 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 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008069/0.0008068, allocations: 85.91 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07871/0.07871, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2924/0.2924, allocations: 78.01 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.053e-05/6.055e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1556, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5208/0.6765, allocations: 111.2 MB / 0.6975 GB, free: 5.223 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.6768, allocations: 82.02 kB / 0.6976 GB, free: 5.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/0.7949, allocations: 45.21 MB / 0.7418 GB, free: 15.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7949, allocations: 4 kB / 0.7418 GB, free: 15.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001361/0.7951, allocations: 43.94 kB / 0.7418 GB, free: 15.39 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.00469/0.7998, allocations: 2.04 MB / 0.7438 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.7998, allocations: 15.98 kB / 0.7438 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.8001, allocations: 170 kB / 0.744 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.8019, allocations: 446.9 kB / 0.7444 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.8041, allocations: 1.323 MB / 0.7457 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/0.8046, allocations: 381.5 kB / 0.7461 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.8048, allocations: 119.3 kB / 0.7462 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.8071, allocations: 1.352 MB / 0.7475 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.8071, allocations: 4 kB / 0.7475 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.8072, allocations: 42.69 kB / 0.7475 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.8073, allocations: 31.94 kB / 0.7476 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.8093, allocations: 1.239 MB / 0.7488 GB, free: 9.719 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.009699/0.819, allocations: 5.968 MB / 0.7546 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.8337, allocations: 4.587 MB / 0.7591 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.835, allocations: 0.6737 MB / 0.7597 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.8351, allocations: 28.92 kB / 0.7598 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.8352, allocations: 47.5 kB / 0.7598 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 3.857e-06/0.8352, allocations: 0 / 0.7598 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124): time 0.01212/0.8473, allocations: 5.21 MB / 0.7649 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.8475, allocations: 218.6 kB / 0.7651 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.85, allocations: 1.406 MB / 0.7665 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.8501, allocations: 49.7 kB / 0.7665 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007121/0.8509, allocations: 0.7341 MB / 0.7672 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.8514, allocations: 453.5 kB / 0.7677 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.8515, allocations: 32 kB / 0.7677 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.8517, allocations: 365.9 kB / 0.7681 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.8529, allocations: 0.6756 MB / 0.7687 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.8542, allocations: 0.8581 MB / 0.7696 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.8555, allocations: 0.7768 MB / 0.7703 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.8555, allocations: 0 / 0.7703 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005375/0.8609, allocations: 2.673 MB / 0.7729 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005531/0.8615, allocations: 1.043 MB / 0.7739 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.8615, allocations: 0 / 0.7739 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006019/0.8676, allocations: 1.868 MB / 0.7758 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.8685, allocations: 191.7 kB / 0.776 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.8732, allocations: 3.001 MB / 0.7789 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.8755, allocations: 231.8 kB / 0.7791 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.8757, allocations: 52 kB / 0.7792 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8757, allocations: 7.984 kB / 0.7792 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004589/0.8803, allocations: 2.435 MB / 0.7815 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.8803, allocations: 4 kB / 0.7815 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005483/0.8858, allocations: 1.837 MB / 0.7833 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.8866, allocations: 191.7 kB / 0.7835 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.8935, allocations: 4.307 MB / 0.7877 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.8957, allocations: 211.8 kB / 0.7879 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.8958, allocations: 51.98 kB / 0.788 GB, free: 2.203 MB / 0.5105 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 () * 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.0003988/0.8963, allocations: 180.7 kB / 0.7881 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.8967, allocations: 177.8 kB / 0.7883 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/0.9044, allocations: 2.995 MB / 0.7912 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.9044, allocations: 12 kB / 0.7913 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.9044, allocations: 8.219 kB / 0.7913 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.9044, allocations: 7.969 kB / 0.7913 GB, free: 14.79 MB / 0.5261 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.01086/0.9153, allocations: 5.347 MB / 0.7965 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9153, allocations: 4.062 kB / 0.7965 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/0.9181, allocations: 0.4955 MB / 0.797 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/0.9213, allocations: 1.01 MB / 0.798 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.9214, allocations: 31.98 kB / 0.798 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.9331, allocations: 8.814 MB / 0.8066 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9331, allocations: 4.578 kB / 0.8066 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/0.9419, allocations: 3.965 MB / 0.8105 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.9425, allocations: 290.8 kB / 0.8108 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.9427, allocations: 28 kB / 0.8108 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.9444, allocations: 227.8 kB / 0.811 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004991/0.9449, allocations: 212.8 kB / 0.8112 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.945, allocations: 31.98 kB / 0.8112 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001683/0.9467, allocations: 1.077 MB / 0.8123 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9467, allocations: 0 / 0.8123 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001863/0.9486, allocations: 0.6561 MB / 0.8129 GB, free: 7.906 MB / 0.5417 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.009186/0.9578, allocations: 4.743 MB / 0.8176 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01101/0.9688, allocations: 4.58 MB / 0.822 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9688, allocations: 384 / 0.822 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005045/0.9739, allocations: 2.039 MB / 0.824 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.9754, allocations: 201.6 kB / 0.8242 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006453/0.9819, allocations: 3.222 MB / 0.8274 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.9828, allocations: 1.383 MB / 0.8287 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001231/0.9841, allocations: 327.1 kB / 0.829 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/0.9849, allocations: 0.6658 MB / 0.8297 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/0.9849, allocations: 0 / 0.8297 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4061/1.391, allocations: 50 MB / 0.8785 GB, free: 180.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/1.391, allocations: 192.6 kB / 0.8787 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/5.188, allocations: 0 / 0.8787 GB, free: 180.1 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)